Skip to content

Allow skipping validation generation when no URL or config is provided #100

Allow skipping validation generation when no URL or config is provided

Allow skipping validation generation when no URL or config is provided #100

Workflow file for this run

name: CI
on: [push, pull_request]
env:
DEFAULT_NODE_VERSION: 22.x
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.DEFAULT_NODE_VERSION }}
cache: yarn
- run: yarn install --frozen-lockfile --ignore-scripts
- run: yarn run lint
test:
needs: lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node-version:
- 18.x
- 20.x
- 22.x
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn run test
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node-version }}
parallel: true
coveralls:
needs: test
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true