Skip to content

test(setup): fix tests setup #54

test(setup): fix tests setup

test(setup): fix tests setup #54

Workflow file for this run

# Reference on this file: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Lint, build and test
on:
pull_request:
jobs:
build:
name: Lint, build and test
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
path: |
**/node_modules
!**/dist/node_modules
key: nodemodules-${{ hashFiles('**/yarn.lock') }}
restore-keys: nodemodules-
- name: Install Node packages
run: yarn install
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Tests
run: yarn test