From a213d7cb677420cb8733a6f3657518d68d8453f0 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 11 Dec 2023 09:10:56 -0700 Subject: [PATCH] update CI --- .github/workflows/node.yml | 14 ++++++++------ .github/workflows/npm.yml | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index ae6efb5..a661697 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -3,6 +3,7 @@ name: Node.js on: push: branches: [ "main" ] + tags: [ '*' ] pull_request: branches: [ "main" ] @@ -12,14 +13,15 @@ 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 @@ -27,7 +29,7 @@ jobs: - 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 }} diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index b49f167..ce1e7e6 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -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 @@ -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