Skip to content

Commit

Permalink
Enable Terrapin before setting up Node to improve cache
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 7, 2023
1 parent 4c6165c commit 1780197
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

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

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

- run: npm clean-install

- run: npm run bootstrap
Expand Down Expand Up @@ -84,16 +84,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

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

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

- run: npm clean-install

- run: npm run bootstrap
Expand All @@ -109,16 +109,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

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

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

- run: npm clean-install

- run: npm run bootstrap
Expand Down Expand Up @@ -170,15 +170,15 @@ jobs:
shard-count: [20]

steps:
- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

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

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

- name: Download Docker artifact
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 1780197

Please sign in to comment.