sass-site/.github/workflows/test.yml

43 lines
916 B
YAML
Raw Normal View History

2023-01-09 21:24:06 +01:00
name: Lint & Test
on:
push:
pull_request:
types: [reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
2023-06-16 01:47:14 +02:00
check-links:
name: Check links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Check links
run: |
yarn build-prod
yarn checklinks:internal
yarn checklinks:external
2023-01-09 21:24:06 +01:00
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Lint
run: yarn lint:ci