diff --git a/.changeset/olive-shirts-matter.md b/.changeset/olive-shirts-matter.md new file mode 100644 index 000000000..8e0b0c60d --- /dev/null +++ b/.changeset/olive-shirts-matter.md @@ -0,0 +1,4 @@ +--- +--- + +Bump Github Actions to Node 20 diff --git a/.github/workflows/cron-update-gatsby-fixtures.yml b/.github/workflows/cron-update-gatsby-fixtures.yml index ad53f7e3a..2bb9db051 100644 --- a/.github/workflows/cron-update-gatsby-fixtures.yml +++ b/.github/workflows/cron-update-gatsby-fixtures.yml @@ -12,17 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 0 means fetch all commits so we can commit and push in the script below with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 - name: Enable corepack run: corepack enable pnpm - name: Update Gatsby Fixtures - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} diff --git a/.github/workflows/cron-update-next.yml b/.github/workflows/cron-update-next.yml index 6abd0cf9c..074c57106 100644 --- a/.github/workflows/cron-update-next.yml +++ b/.github/workflows/cron-update-next.yml @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 0 means fetch all commits so we can commit and push in the script below with: fetch-depth: 0 - name: Enable corepack run: corepack enable pnpm - name: Create Pull Request - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} diff --git a/.github/workflows/cron-update-turbo.yml b/.github/workflows/cron-update-turbo.yml index 5b013aac8..99f92eb82 100644 --- a/.github/workflows/cron-update-turbo.yml +++ b/.github/workflows/cron-update-turbo.yml @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 0 means fetch all commits so we can commit and push in the script below with: fetch-depth: 0 - name: Enable corepack run: corepack enable pnpm - name: Create Pull Request - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5514e6714..0d55cc068 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,13 +21,13 @@ jobs: id-token: write steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Fetch git tags run: git fetch origin 'refs/tags/*:refs/tags/*' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 16 @@ -61,7 +61,7 @@ jobs: - name: Trigger Update (if a Publish Happened) if: steps.changesets.outputs.published == 'true' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} script: | @@ -70,7 +70,7 @@ jobs: - name: Set latest Release to `vercel` (if a Publish Happened) if: steps.changesets.outputs.published == 'true' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} script: | diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 0f05dc1f2..f5c04bfe9 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'pull_request' && github.event.pull_request.title != 'Version Packages' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 ref: main @@ -41,8 +41,8 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: install pnpm@8.3.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4251e1aac..6d1c698c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: tests: ${{ steps['set-tests'].outputs['tests'] }} dplUrl: ${{ steps.waitForTarball.outputs.url }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: install pnpm@8.3.1 @@ -59,10 +59,10 @@ jobs: matrix: include: ${{ fromJson(needs.setup.outputs['tests']) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.nodeVersion || env.NODE_VERSION }} diff --git a/.github/workflows/update-remix-run-dev.yml b/.github/workflows/update-remix-run-dev.yml index 0a9c2d344..457e4291d 100644 --- a/.github/workflows/update-remix-run-dev.yml +++ b/.github/workflows/update-remix-run-dev.yml @@ -12,17 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 16 - name: Enable corepack run: corepack enable pnpm - name: Update @remix-run/dev - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GH_TOKEN_PULL_REQUESTS }} script: | diff --git a/examples/ember/.github/workflows/ci.yml b/examples/ember/.github/workflows/ci.yml deleted file mode 100644 index abe311381..000000000 --- a/examples/ember/.github/workflows/ci.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI - -on: - push: - branches: - - main - - master - pull_request: {} - -concurrency: - group: ci-${{ github.head_ref || github.ref }} - cancel-in-progress: true - -jobs: - lint: - name: "Lint" - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16 - cache: npm - - name: Install Dependencies - run: npm ci - - name: Lint - run: npm run lint - - test: - name: "Test" - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 16 - cache: npm - - name: Install Dependencies - run: npm ci - - name: Run Tests - run: npm test diff --git a/packages/static-build/test/fixtures/ember-v5/.github/workflows/ci.yml b/packages/static-build/test/fixtures/ember-v5/.github/workflows/ci.yml deleted file mode 100644 index 8a43ff0d4..000000000 --- a/packages/static-build/test/fixtures/ember-v5/.github/workflows/ci.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI - -on: - push: - branches: - - main - - master - pull_request: {} - -concurrency: - group: ci-${{ github.head_ref || github.ref }} - cancel-in-progress: true - -jobs: - lint: - name: "Lint" - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: npm - - name: Install Dependencies - run: npm ci - - name: Lint - run: npm run lint - - test: - name: "Test" - runs-on: ubuntu-latest - timeout-minutes: 10 - - steps: - - uses: actions/checkout@v3 - - name: Install Node - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: npm - - name: Install Dependencies - run: npm ci - - name: Run Tests - run: npm test