Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Dec 11, 2023
1 parent 2db4802 commit a213d7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Node.js
on:
push:
branches: [ "main" ]
tags: [ '*' ]
pull_request:
branches: [ "main" ]

Expand All @@ -12,22 +13,23 @@ jobs:
strategy:
matrix:
node-version:
- 14.x # EOL: 2023-04-30 <<
- 16.x # EOL: 2023-09-11
- 18.x # EOL: 2025-04-30
- 19.x # EOL: 2023-06-01 <<
- 20.x # EOL: 2026-04-30
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
- 21.x # EOL: 2024-06-01
#- 22.x # REL: 2024-04-23 EOL: 2027-04-30
#- 23.x # REL: 2024-10-15 EOL: 2025-06-01
#- 24.x # REL: 2025-04-22 EOL: 2028-04-30
# See supported Node.js release schedule at https://github.com/nodejs/Release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv
token: ${{ secrets.GH_PAT }}
- name: Build libgetargv
run: make install_dylib
working-directory: getargv
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: getargv.js
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:

jobs:
publish-gpr:
runs-on: macos-latest
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: latest
Expand All @@ -26,7 +26,7 @@ jobs:
publish-npm:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv
Expand Down

0 comments on commit a213d7c

Please sign in to comment.