Skip to content

Commit 47f0c7c

Browse files
committed
chore: pnpm + node16
1 parent d54ccb1 commit 47f0c7c

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
- uses: pnpm/action-setup@v2
14+
with:
15+
version: 7
1316
- uses: actions/setup-node@v3
1417
with:
15-
node-version: 18
18+
node-version: 16
1619
registry-url: https://registry.npmjs.org/
20+
cache: 'pnpm'
1721
- run: make
18-
- run: npm publish --access=public
22+
- run: pnpm publish --access=public --no-git-checks
1923
env:
2024
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/pr.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ name: Unit Tests (PR)
22

33
on:
44
pull_request:
5-
branches: ['master']
5+
branches: ['canary', 'master']
66

77
jobs:
88
test:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12+
- uses: pnpm/action-setup@v2
13+
with:
14+
version: 7
1215
- uses: actions/setup-node@v3
1316
with:
14-
node-version: 18
17+
node-version: 16
1518
registry-url: https://registry.npmjs.org/
19+
cache: 'pnpm'
1620
- run: make test

0 commit comments

Comments
 (0)