Skip to content

Merge pull request #288 from 8BitJonny/dependabot/npm_and_yarn/eslint… #714

Merge pull request #288 from 8BitJonny/dependabot/npm_and_yarn/eslint…

Merge pull request #288 from 8BitJonny/dependabot/npm_and_yarn/eslint… #714

Workflow file for this run

name: 'build'
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- run: npm ci
- run: |
npm run build
clean-run: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- run: npm ci
- name: Lint
run: |
npm run format-check
npm run lint