1
mirror of https://github.com/jakejarvis/get-canonical-url.git synced 2025-04-26 21:38:25 -04:00

23 lines
434 B
YAML

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn lint