chore(deps): update typescript-eslint monorepo to v7.13.0 #261
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: "Test" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "**" | |
# A pull request sent from a fork of the upstream repository could be manipulated to do harmful things. | |
# The upstream repository’s maintainer would have no protection against this attack, as pull requests | |
# can be sent by anyone who forks the repository on GitHub. | |
# This is why we don't run automated tests on every PR. | |
# pull_request: | |
# types: | |
# - opened | |
# - synchronize | |
# paths-ignore: | |
# - '*.md' | |
jobs: | |
skipci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}" | |
test: | |
runs-on: ${{ matrix.os }} | |
if: contains(github.event.head_commit.message, '[skip ci]') == false | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-22.04" | |
- "macos-latest" | |
- "windows-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- name: Run prettier | |
if: startsWith(matrix.os, 'ubuntu') | |
run: npm run format:check | |
- name: Run eslint | |
if: startsWith(matrix.os, 'ubuntu') | |
run: npm run lint | |
- name: Run ncc | |
if: startsWith(matrix.os, 'ubuntu') | |
run: npm run build | |
- run: npm test |