Skip to content

Bump lint-staged from 15.2.6 to 15.2.7 #1006

Bump lint-staged from 15.2.6 to 15.2.7

Bump lint-staged from 15.2.6 to 15.2.7 #1006

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v1
- name: Setup
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Typecheck
run: |
npm run typecheck
- name: Lint
run: |
npm run lint
- name: Test
env:
CI: true
run: |
npm run test -- --ci --coverage
- name: Report
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
env:
COVERALLS_GIT_BRANCH: ${{ github.ref }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
npm run coveralls
- name: Build
run: |
npm run recompile
- name: Deploy
if: matrix.node-version == '18.x' && github.ref == 'refs/heads/main' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run release