Bump follow-redirects from 1.14.9 to 1.15.4 #222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Site | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
GIT_COMMIT_SHA: ${{ github.sha }} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
- name: Yarn Cache | |
uses: actions/[email protected] | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-modules- | |
- name: Build Cache | |
uses: actions/[email protected] | |
with: | |
path: ./node_modules/.cache/ | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-site-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-site- | |
- run: yarn install | |
- run: yarn typecheck | |
- run: yarn lint:ci | |
- run: yarn build | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
- name: Yarn Cache | |
uses: actions/[email protected] | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-modules- | |
- name: Build Cache | |
uses: actions/[email protected] | |
with: | |
path: ./node_modules/.cache/ | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-site-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-site- | |
- run: yarn install | |
- run: yarn build |