Skip to content

Commit

Permalink
update npm-publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
fidelthomet committed Aug 27, 2024
1 parent dccfc7e commit 3442a70
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -28,6 +18,7 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM}}

0 comments on commit 3442a70

Please sign in to comment.