Bump webpack from 5.72.0 to 5.89.0 #204
Workflow file for this run
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@v3 | |
- name: Setup Node | |
uses: actions/[email protected] | |
- 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@v3 | |
- name: Setup Node | |
uses: actions/[email protected] | |
- 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 |