Skip to content

Release/20230802

Release/20230802 #195

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
- release/*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Use Yarn cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install package dependencies
run: yarn install --prefer-offline --frozen-lockfile
- name: Run build
run: yarn build
env:
CI: ""
- name: Run test
run: yarn test
env:
CI: ""