Skip to content

Skip github hook on instance finished #25

Skip github hook on instance finished

Skip github hook on instance finished #25

Workflow file for this run

name: Lint and test
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@master
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: v1-${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
v1-${{ runner.os }}-yarn-
- name: Cache turbo build setup
uses: actions/cache@v3
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install dependencies
run: yarn
- name: Run lint
run: yarn lint
- name: Run unit tests
run: yarn test