mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 12:35:03 +01:00
40 lines
833 B
YAML
40 lines
833 B
YAML
name: Lint & Test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
types: [reopened]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# test:
|
|
# name: Test
|
|
# 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: Test
|
|
# run: yarn test
|
|
|
|
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
|