Skip to content

Commit 2316e3e

Browse files
committed
Merge branch 'master' of https://github.com/Pytal/deploy-env
2 parents 11f6b16 + b8d7932 commit 2316e3e

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,16 @@ on:
99

1010
jobs:
1111

12-
build:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v1
17-
with:
18-
node-version: 12
19-
- run: npm add -g pnpm
20-
- run: pnpm i
21-
2212
publish-npm:
23-
needs: build
2413
runs-on: ubuntu-latest
2514
steps:
2615
- uses: actions/checkout@v2
2716
- uses: actions/setup-node@v1
2817
with:
29-
node-version: 12
18+
node-version: 14
3019
registry-url: https://registry.npmjs.org/
20+
- run: npm add -g pnpm
3121
- run: pnpm i
32-
- run: pnpm publish
22+
- run: npm publish
3323
env:
3424
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)