From 0d4323df58e017685d7f9d6118e40c0fad3233e4 Mon Sep 17 00:00:00 2001 From: Peter Warren Date: Wed, 9 Oct 2024 10:50:15 +1100 Subject: [PATCH] updated checkout and setup-node github actions updated checkout and setup-node github actions. re-enabled publish by removing dry-run --- .github/workflows/node.js.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2569d66..057bc38 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 @@ -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