Skip to content

Commit

Permalink
Merge pull request #27 from EdgePi-Cloud/test-workflow
Browse files Browse the repository at this point in the history
Test workflow
  • Loading branch information
jimmy121192 authored Jan 22, 2024
2 parents fdfde22 + 0d5c587 commit b4385fc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
Expand All @@ -21,8 +23,7 @@ jobs:
npm ci
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release Package
uses: ncipollo/release-action@v1.12.0

uses: ncipollo/release-action@v1.12.0

0 comments on commit b4385fc

Please sign in to comment.