We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923e6dd commit dd36ddcCopy full SHA for dd36ddc
.github/workflows/test.yaml
@@ -1,17 +1,28 @@
1
-name: Test
2
-on: [push]
+on:
+ - push
3
+ - pull_request
4
5
jobs:
6
test:
7
runs-on: ubuntu-latest
8
+
9
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v3
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
13
+ - uses: pnpm/action-setup@v4
14
+ name: Install pnpm
15
+ with:
16
+ run_install: false
17
18
+ - name: Install Node.js
19
+ uses: actions/setup-node@v4
20
with:
- node-version: '20'
21
+ node-version: 20
22
cache: 'pnpm'
- - run: |
- corepack enable
- pnpm install
- pnpm run all
23
24
+ - name: Install dependencies
25
+ run: pnpm install
26
27
+ - name: Run tests
28
+ run: pnpm run all
0 commit comments