Skip to content

Commit

Permalink
github action up
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed May 8, 2022
1 parent 3c767fb commit de08fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: artifacts
run: |
mkdir /tmp/output
mv -t /tmp/output lib typings README.md LICENSE package.json
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: /tmp/output
Expand All @@ -29,7 +29,7 @@ jobs:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifacts
path: artifacts
Expand All @@ -39,7 +39,7 @@ jobs:
working-directory: artifacts

- name: publish
run: npm publish artifacts --access public
run: npm publish ./artifacts/ --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand Down

0 comments on commit de08fe4

Please sign in to comment.