Skip to content

Commit

Permalink
build: publish npm package publicly
Browse files Browse the repository at this point in the history
  • Loading branch information
christianliebel committed Sep 3, 2021
1 parent 0aca76c commit 531e8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Install
run: npm install
run: npm ci

- name: Build
run: npm run build
Expand All @@ -37,6 +37,6 @@ jobs:
run: npx replace '#.#.#' ${GITHUB_REF#refs/tags/v} build/package.json

- name: Publish
run: npm publish ./build
run: npm publish ./build --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 comments on commit 531e8b1

Please sign in to comment.