fix: add missing contributors #533
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches-ignore: | |
- "data" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
cache: | |
name: Cache dependencies | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
build: | |
name: Build website | |
needs: cache | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
- run: npm run build | |
lint: | |
name: Run linters | |
needs: cache | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
- run: npm run lint | |
exports: | |
name: Check unused exports | |
needs: cache | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
- run: npm run exports | |
database: | |
name: Build database | |
needs: cache | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: ./node_modules | |
key: modules-${{ hashFiles('package-lock.json') }} | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci --ignore-scripts | |
- run: npm run build:db |