Skip to content
Open
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
34 changes: 17 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ jobs:
# - host: windows-latest
# target: aarch64-pc-windows-msvc
# build: yarn build --target aarch64-pc-windows-msvc
name: Build - ${{ matrix.settings.target }} - node@22
name: Build - ${{ matrix.settings.target }} - node@24
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
node-version: "22.4.x"
node-version: "24"
cache: yarn
- name: Install
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: "22.4.x"
node-version: "24"
cache: yarn
architecture: x86
- name: Build in docker
Expand Down Expand Up @@ -129,8 +129,8 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
node:
- "18"
- "22.4.x"
- "22"
- "24"
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -165,8 +165,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- "22.4.x"
- "22"
- "24"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -251,8 +251,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- 22.4
- "22"
- "24"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -293,8 +293,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- 22.4
- "22"
- "24"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -336,8 +336,8 @@ jobs:
fail-fast: false
matrix:
node:
- "18"
- 22.4
- "22"
- "24"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -387,8 +387,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "22.4.x"
node-version: "24.x"
cache: yarn
- name: Upgrade npm for OIDC
if: ${{ steps.release.outputs.releases_created }}
run: npm i -g npm@^11.5.1
- name: Create tag
id: tag
uses: butlerlogic/[email protected]
Expand Down Expand Up @@ -418,15 +421,12 @@ jobs:
npm config set provenance true
if node -e "console.log(require('./package.json').version)" | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --access public
elif node -e "console.log(require('./package.json').version)" | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next --access public
else
echo "Not a release, skipping publish"
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}