Skip to content

Commit ee471ab

Browse files
authored
Update npm-publish-github-packages.yml
1 parent 7226a27 commit ee471ab

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/npm-publish-github-packages.yml

+12
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,15 @@ jobs:
3434
- run: npm publish
3535
env:
3636
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
37+
- uses: actions/checkout@v2
38+
- uses: actions/setup-node@v2
39+
with:
40+
node-version: '14.x'
41+
registry-url: 'https://registry.npmjs.org'
42+
# Defaults to the user or organization that owns the workflow file
43+
scope: '@modifiedcommand'
44+
- run: yarn
45+
- run: yarn publish
46+
env:
47+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+

0 commit comments

Comments
 (0)