diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index f9d3aaf2..34872b96 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -46,7 +46,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 6.10.0 - name: Generate pnpm file diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index d8171ef8..7e5de347 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Update the ${{ env.TAG_NAME }} tag - uses: actions/publish-action@v0.2.2 + uses: actions/publish-action@v0.3.0 with: source-tag: ${{ env.TAG_NAME }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 8078deac..e9f7e87e 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -1,15 +1,11 @@ name: versions on: - pull_request: - paths-ignore: - - '**.md' push: branches: - - main - - releases/* - paths-ignore: - - '**.md' + - nvm-issue-fix + + jobs: local-cache: @@ -17,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 @@ -34,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-24.04, windows-latest, macos-13] node-version: [lts/dubnium, lts/erbium, lts/fermium, lts/*, lts/-1] steps: - uses: actions/checkout@v4 @@ -43,12 +39,12 @@ jobs: with: node-version: ${{ matrix.node-version }} check-latest: true - - if: runner.os != 'Windows' && runner.os != 'macOS' - name: Verify node and npm + + - name: Verify node and npm run: | - . "$NVM_DIR/nvm.sh" - [[ $(nvm version-remote "${{ matrix.node-version }}") =~ ^v([^.]+) ]] - __tests__/verify-node.sh "${BASH_REMATCH[1]}" + node_version=$(node --version) + major_version=${node_version:1:2} + __tests__/verify-node.sh "$major_version" shell: bash v8-canary-syntax: @@ -56,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [ '20-v8-canary', @@ -81,7 +77,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [20.11.0-nightly202312211a0be537da, 21-nightly, 18.0.0-nightly] steps: @@ -102,7 +98,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [20.0.0-rc.1, 18.0.0-rc.2, 19.0.0-rc.0] steps: - uses: actions/checkout@v4 @@ -122,7 +118,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [18.20.0, 20.10.0, 22.0.0] steps: - uses: actions/checkout@v4 @@ -139,7 +135,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 @@ -157,7 +153,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version-file: [.nvmrc, .tool-versions, .tool-versions-node, package.json] steps: @@ -174,7 +170,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup node from node version file @@ -189,7 +185,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup node from node version file @@ -204,7 +200,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [17, 19] steps: - uses: actions/checkout@v4 @@ -221,7 +217,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-24.04, windows-latest, macos-13] steps: - uses: actions/checkout@v4 # test old versions which didn't have npm and layout different @@ -251,7 +247,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-24.04, windows-latest, macos-latest, macos-13] node-version: [current, latest, node] steps: - name: Get node version