Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Sep 20, 2024
1 parent b3d5d9e commit 3df5127
Showing 1 changed file with 6 additions and 32 deletions.
38 changes: 6 additions & 32 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ env:
CI_PULL_REQUEST: 1 # Skip nightly tests
NODE_ENV: test # Add instrumentation code
node-version: 18.20 # Need to bump jest@29 to resolve something in https://github.com/facebook/react-native/issues/35701
skip-secure-feed: true # Terrapin service is degrading and their team told us to disable Terrapin to unblock ourselves

jobs:
build:
Expand All @@ -33,11 +32,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed
timeout-minutes: 8 # Terrapin normally finish within 4 minutes but sometimes hang

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -75,7 +69,7 @@ jobs:
- run: ls -l docker.zip

- name: Upload Docker artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docker
path: docker.zip
Expand All @@ -88,11 +82,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed
timeout-minutes: 8 # Terrapin normally finish within 4 minutes but sometimes hang

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -114,11 +103,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed
timeout-minutes: 8 # Terrapin normally finish within 4 minutes but sometimes hang

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -155,7 +139,7 @@ jobs:

- if: always()
name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-result
path: |
Expand All @@ -171,11 +155,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed
timeout-minutes: 8 # Terrapin normally finish within 4 minutes but sometimes hang

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -216,18 +195,13 @@ jobs:
shard-count: [17]

steps:
- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed
timeout-minutes: 8 # Terrapin normally finish within 4 minutes but sometimes hang

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

- name: Download Docker artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: docker

Expand Down Expand Up @@ -285,7 +259,7 @@ jobs:

- if: always()
name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-result
path: |
Expand All @@ -296,7 +270,7 @@ jobs:
- if: failure()
name: Upload test snapshot diffs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-snapshot-diff
path: ./__tests__/__image_snapshots__/*/__diff_output__/*
Expand All @@ -311,7 +285,7 @@ jobs:

steps:
- name: Download test results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-result

Expand Down

0 comments on commit 3df5127

Please sign in to comment.