diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6a70320..ff07f597 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@master + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - name: Setup Node.js 14.x - uses: actions/setup-node@master + - name: Setup Node.js 22.x + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 22.x registry-url: 'https://registry.npmjs.org' - name: Get yarn cache directory path diff --git a/.github/workflows/verify-node.yml b/.github/workflows/verify-node.yml index 5227437f..4c117231 100644 --- a/.github/workflows/verify-node.yml +++ b/.github/workflows/verify-node.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'yarn' @@ -31,7 +31,5 @@ jobs: - name: Lint run: yarn lint - - run: npm config set scripts-prepend-node-path true - - name: Test run: yarn test diff --git a/.github/workflows/verify-windows.yml b/.github/workflows/verify-windows.yml index d85e90e6..5e8c1ceb 100644 --- a/.github/workflows/verify-windows.yml +++ b/.github/workflows/verify-windows.yml @@ -16,12 +16,12 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Setup Node 14.x - uses: actions/setup-node@v2 + - name: Setup Node 22.x + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 22.x cache: 'yarn' - name: Install dependencies @@ -30,7 +30,5 @@ jobs: - name: Build run: yarn build - - run: npm config set scripts-prepend-node-path true - - name: Test run: yarn test