Skip to content

Commit 49d1e1f

Browse files
authored
npm publish
1 parent 80704db commit 49d1e1f

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/npmpublish.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ jobs:
1414
node-version: 12
1515
- run: npm ci
1616

17-
#publish-npm:
18-
# needs: build
19-
# runs-on: ubuntu-latest
20-
# steps:
21-
# - uses: actions/checkout@v1
22-
# - uses: actions/setup-node@v1
23-
# with:
24-
# node-version: 12
25-
# registry-url: https://registry.npmjs.org/
26-
# - run: npm ci
27-
# - run: npm publish
28-
# env:
29-
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
17+
publish-npm:
18+
needs: build
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v1
22+
- uses: actions/setup-node@v1
23+
with:
24+
node-version: 12
25+
registry-url: https://registry.npmjs.org/
26+
- run: npm ci
27+
- run: npm run copyfiles
28+
- run: npm run dist
29+
env:
30+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3031

3132
publish-gpr:
3233
needs: build

0 commit comments

Comments
 (0)