From 0bb67906381c26c18e9604e74cc033d89609ec21 Mon Sep 17 00:00:00 2001 From: joshuarli Date: Wed, 7 Aug 2024 10:05:52 -0700 Subject: [PATCH] ci: replace setup-volta (#11006) --- .github/workflows/algolia-index.yml | 7 +++++-- .github/workflows/lint-404s.yml | 7 +++++-- .github/workflows/sync-labels.yml | 6 +++++- .github/workflows/test.yml | 5 ++++- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/algolia-index.yml b/.github/workflows/algolia-index.yml index ebe5c52cabff2..19e40887ccc8b 100644 --- a/.github/workflows/algolia-index.yml +++ b/.github/workflows/algolia-index.yml @@ -8,8 +8,11 @@ jobs: name: Update Algolia index runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0 + - uses: actions/checkout@v4 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 + id: setup-node + with: + node-version-file: 'package.json' - uses: dorny/paths-filter@v3 id: filter with: diff --git a/.github/workflows/lint-404s.yml b/.github/workflows/lint-404s.yml index 35e20ea42f448..f7bbf106b67b0 100644 --- a/.github/workflows/lint-404s.yml +++ b/.github/workflows/lint-404s.yml @@ -10,8 +10,11 @@ jobs: index: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0 + - uses: actions/checkout@v4 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 + id: setup-node + with: + node-version-file: 'package.json' - uses: dorny/paths-filter@v3 id: filter with: diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 511455ade75ca..d1ff76c0f2577 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -22,7 +22,11 @@ jobs: pull-requests: write steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0 + + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 + id: setup-node + with: + node-version-file: 'package.json' - name: Install github-label-sync run: yarn global add github-label-sync@2.2.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d47cbe7ec5725..c05454110e14b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,10 @@ jobs: app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }} private_key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }} - - uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 + id: setup-node + with: + node-version-file: 'package.json' - uses: actions/cache@v4 id: cache