Skip to content

Commit da54c3f

Browse files
committed
Set up GitHub actions
1 parent 15b57cc commit da54c3f

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,12 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88

9-
env:
10-
YARN_ENABLE_MIRROR: 'false'
11-
YARN_ENABLE_GLOBAL_CACHE: 'false'
12-
139
steps:
1410
- uses: actions/checkout@v2
1511

1612
- uses: actions/setup-node@v2
1713
with:
18-
node-version: 14.x
19-
20-
- uses: actions/cache@v2
21-
with:
22-
path: .yarn/cache
23-
key: yarn2-${{ hashFiles('yarn.lock') }}
24-
restore-keys: |
25-
yarn2-
14+
node-version: 20.x
2615

27-
- run: yarn --immutable
28-
- run: yarn build
29-
- run: yarn test
30-
- run: yarn prettier --check .
16+
- run: pnpm build
17+
- run: pnpm prettier --check .

0 commit comments

Comments
 (0)