Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Match node setup steps #2

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading