Skip to content

Commit b44343e

Browse files
authored
Merge pull request #14 from aulasoftwarelibre/action
chore: update test action
2 parents 923e6dd + dd36ddc commit b44343e

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.github/workflows/test.yaml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
1-
name: Test
2-
on: [push]
1+
on:
2+
- push
3+
- pull_request
34

45
jobs:
56
test:
67
runs-on: ubuntu-latest
8+
79
steps:
8-
- uses: actions/checkout@v2
9-
- 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
1020
with:
11-
node-version: '20'
21+
node-version: 20
1222
cache: 'pnpm'
13-
- run: |
14-
corepack enable
15-
pnpm install
16-
- run: |
17-
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

Comments
 (0)