Skip to content

Commit

Permalink
change publish-npm job
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Duri committed Nov 25, 2023
1 parent e5e4a05 commit c4617d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20' # Specify your Node.js version here

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Publish to NPM
run: npm publish
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://registry.npmjs.org
registry=https://registry.npmjs.org/

0 comments on commit c4617d6

Please sign in to comment.