Skip to content

Commit

Permalink
updated checkout and setup-node github actions
Browse files Browse the repository at this point in the history
updated checkout and setup-node github actions. re-enabled publish by removing dry-run
  • Loading branch information
PeterWarren authored Oct 8, 2024
1 parent 721e6bc commit 0d4323d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: deploy to npmjs

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: 20
- run: npm install
- run: npm link @angular/cli
- run: ng build portal-core-ui --configuration production
Expand All @@ -26,7 +24,7 @@ jobs:
package: dist/portal-core-ui/package.json
access: public
# Change dry-run to true for testing
dry-run: true
dry-run: false
strategy: all


0 comments on commit 0d4323d

Please sign in to comment.