Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
env:
GH_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -27,7 +27,7 @@ jobs:
key: ${{ runner.os }}-npm-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand All @@ -43,17 +43,17 @@ jobs:
GH_PR_NUM: ${{ github.event.number }}
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -63,7 +63,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: lint-cache
name: Load lint cache
with:
Expand All @@ -79,18 +79,18 @@ jobs:
GH_PR_NUM: ${{ github.event.number }}
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -101,7 +101,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand All @@ -120,18 +120,18 @@ jobs:
GH_PR_NUM: ${{ github.event.number }}
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -142,7 +142,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand All @@ -163,18 +163,18 @@ jobs:
GH_PR_NUM: ${{ github.event.number }}
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -185,7 +185,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
env:
GH_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
if [[ ! -z "${GH_PR_NUM}" ]]; then
echo "Checking out PR"
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
fi
- uses: actions/cache@v2
- uses: actions/cache@v4
id: setup-cache
name: Cache setup
with:
Expand All @@ -30,10 +30,10 @@ jobs:
run: ./devSetup.sh
shell: bash
if: steps.setup-cache.outputs.cache-hit != 'true'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -43,7 +43,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
GH_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Yes, we really want to checkout the PR
- run: |
git fetch origin pull/$GH_PR_NUM/head:tmp
Expand All @@ -24,10 +24,10 @@ jobs:

# Yes, we really want to checkout the PR
# Injected by generate-workflows.js
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Load npm deps from cache
with:
Expand All @@ -37,7 +37,7 @@ jobs:
if: steps.yarn-cache.outputs.cache-hit != 'true'
- run: npm run build
name: Build component groups
- uses: actions/cache@v2
- uses: actions/cache@v4
id: docs-cache
name: Load webpack cache
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build for promotion
run: yarn install --frozen-lockfile && yarn build
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: GitHub Tag Name example
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v2
node-version: '20'
- uses: actions/cache@v4
id: npm-cache
name: Cache npm deps
with:
Expand All @@ -29,7 +29,7 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
- run: npm install --frozen-lockfile
if: steps.npm-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
- uses: actions/cache@v4
id: dist
name: Cache dist
with:
Expand Down