Skip to content

feat: initialize repo and create npm-license-checker action #3

feat: initialize repo and create npm-license-checker action

feat: initialize repo and create npm-license-checker action #3

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint -ws
npm-license-checker:
runs-on: ubuntu-latest
timeout-minutes: 5
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run coverage --workspace=npm-license-checker