Skip to content

Commit

Permalink
update dthe workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
auralshin committed Jun 16, 2023
1 parent e309dc2 commit 1384873
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
Expand All @@ -10,6 +7,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo
ports:
- 27017:27017
options: "--health-cmd 'mongo --eval \"db.runCommand({ connectionStatus: 1 })\"'"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -30,4 +33,4 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: 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
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 1384873

Please sign in to comment.