Skip to content

build(dev): bump eslint from 8.56.0 to 8.57.0 #295

build(dev): bump eslint from 8.56.0 to 8.57.0

build(dev): bump eslint from 8.56.0 to 8.57.0 #295

Workflow file for this run

name: CI
on:
push:
branches: [main, beta, alpha]
pull_request:
branches: [main, beta, alpha]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
test-compat:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
release:
runs-on: ubuntu-latest
needs: [test, test-compat]
if: success() && github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}