Skip to content

Commit

Permalink
update ci & node
Browse files Browse the repository at this point in the history
  • Loading branch information
vwi committed Dec 18, 2024
1 parent 4a6904f commit dae129c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- name: 'Upload Artifact Windows'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: 'Binary Windows'
path: bin/sleep-linux-gsm-win.exe
- name: 'Upload Artifact Linux'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: 'Binary Linux'
path: bin/sleep-linux-gsm-linux
6 changes: 3 additions & 3 deletions .github/workflows/release_nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down

0 comments on commit dae129c

Please sign in to comment.