Skip to content

Commit

Permalink
Update build to avoid deprecated GitHub actions (#696)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday authored Feb 6, 2024
1 parent 6164a4d commit aee9b72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
needs: build
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Update npm
run: |
npm update --global npm
npm --version
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: npm install
- run: npm run compile
- name: Publish
Expand All @@ -36,19 +36,19 @@ jobs:
needs: build
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Update npm
run: |
npm update --global npm
npm --version
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: source
- name: Checkout publish
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: publish
ref: gh-pages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.checkout-ref }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install SoftHSM
Expand All @@ -49,13 +49,13 @@ jobs:
- run: npm test
- name: "Archive unit test debug log"
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.node-version }}-unit-test-debug.log
path: test/temp/debug.log
- name: "Archive scenario test debug log"
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.node-version }}-cucumber-debug.log
path: test/temp/debugc.log
4 changes: 2 additions & 2 deletions .github/workflows/vulnerability_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- fabric-network
- fabric-protos
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Update npm
Expand Down

0 comments on commit aee9b72

Please sign in to comment.