Skip to content

Commit 7018d32

Browse files
committed
up
1 parent cf132cb commit 7018d32

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [10.x, 12.x, 14.x, 15.x]
19+
node-version: [12.x, 14.x, 15.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
@@ -28,6 +28,6 @@ jobs:
2828
uses: actions/setup-node@v1
2929
with:
3030
node-version: ${{ matrix.node-version }}
31-
- run: pnpm ci
31+
- run: pnpm install
3232
- run: pnpm run build --if-present
3333
# - run: npm test

.github/workflows/npm-publish.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15+
- uses: pnpm/action-setup@v2.0.1
16+
with:
17+
version: 6.0.2
1518
- uses: actions/setup-node@v1
1619
with:
1720
node-version: 12
18-
- run: npm ci
21+
- run: npm install
1922
- run: npm run build
2023
- run: npm test
2124

@@ -24,13 +27,16 @@ jobs:
2427
runs-on: ubuntu-latest
2528
steps:
2629
- uses: actions/checkout@v2
30+
- uses: pnpm/action-setup@v2.0.1
31+
with:
32+
version: 6.0.2
2733
- uses: actions/setup-node@v1
2834
with:
2935
node-version: 12
3036
registry-url: https://registry.npmjs.org/
31-
- run: npm ci
32-
- run: npm run build
33-
- run: npm publish --access public
37+
- run: pnpm install
38+
- run: pnpm run build
39+
- run: pnpm publish --access public
3440
env:
3541
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3642

@@ -43,7 +49,7 @@ jobs:
4349
with:
4450
node-version: 12
4551
registry-url: https://npm.pkg.github.com/
46-
- run: npm ci
47-
- run: npm publish
52+
- run: pnpm install
53+
- run: pnpm publish
4854
env:
4955
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)