Skip to content

chore(deps): lock file maintenance (#113) #151

chore(deps): lock file maintenance (#113)

chore(deps): lock file maintenance (#113) #151

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
Lint:
name: lint check
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14, 16, 18 ]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn
restore-keys: ${{ runner.os }}-yarn
- name: yarn install
run: yarn install --prefer-offline
- name: test
run: |
yarn test