Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 authored Feb 24, 2024
1 parent dac7c94 commit 1e24e9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
Expand All @@ -35,6 +33,7 @@ jobs:
name: build
path: build
publish:
needs: build
runs-on: ubuntu-latest
steps:
# The logic below handles the npm publication:
Expand All @@ -51,7 +50,6 @@ jobs:
with:
name: build
path: build

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 1e24e9e

Please sign in to comment.