Skip to content

Commit

Permalink
Update Publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CalumW1 authored Feb 17, 2024
1 parent 9b9250d commit 4db8796
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: self-hosted

steps:
- name: Checkout code
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v4
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://npm.pkg.github.com'

- name: Publish to npm
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: npm ci && npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPMTOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4db8796

Please sign in to comment.