Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

chore(deps): update actions/checkout action to v4 #684

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #684

Workflow file for this run

name: build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
node-version: [12.x, 14.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-yarn-
- run: |
yarn install
- run: |
yarn linter
- run: |
yarn test --runInBand
- run: |
yarn coverage