Skip to content

Commit

Permalink
ci: Match node setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronclong committed Mar 17, 2024
1 parent 4685b8f commit 051b59e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/node-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
target: x86_64-pc-windows-msvc
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
- host: flyci-macos-large-latest-m2
- host: flyci-macos-14-m2
target: arm64-apple-darwin
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down Expand Up @@ -74,27 +74,32 @@ jobs:
- build
steps:
- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: latest
check-latest: true
cache: yarn
node-version: ${{ env.NODE_VERSION }}
cache-dependency-path: ./bindings/node/
cache: yarn

- name: Install dependencies
working-directory: ./bindings/node
run: yarn install

- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: ./bindings/node/artifacts

- name: Move artifacts
working-directory: ./bindings/node
run: yarn artifacts

- name: List packages
working-directory: ./bindings/node
run: ls -R ./npm
shell: bash

- name: Publish
working-directory: ./bindings/node
run: |
Expand Down

0 comments on commit 051b59e

Please sign in to comment.