22 lines
404 B
YAML
22 lines
404 B
YAML
name: build-test
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "18"
|
|
- name: Install dependencies
|
|
run: yarn --frozen-lockfile
|
|
- name: Run tests
|
|
run: yarn test
|