Skip to content

[pre-commit.ci] pre-commit autoupdate #59

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #59

Workflow file for this run

name: Pull Request Build
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['19.x']
steps:
- uses: actions/checkout@v2
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn build