chore(deps-dev): bump eslint from 8.54.0 to 8.56.0 #567
Workflow file for this run
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: Quality Check & Release | |
on: | |
push: | |
branches: [main, beta] | |
pull_request: | |
types: [opened, synchronize] | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: read | |
packages: none | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Lint files | |
run: yarn lint | |
type-check: | |
name: Type check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Perform type checking | |
run: yarn lint:types | |
publish: | |
name: Release | |
needs: [lint, type-check] | |
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Semantic release | |
run: npx semantic-release@19 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |