31 lines
484 B
YAML
Raw Normal View History

2021-06-08 10:19:16 +03:00
name: test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2021-06-08 10:19:16 +03:00
with:
node-version: '14'
- name: Set up cache
uses: actions/cache@v4
2021-06-08 10:19:16 +03:00
with:
path: node_modules
key: env-${{ hashFiles('yarn.lock') }}
- name: "Install deps"
run: yarn install
- name: "Test"
run: yarn test