Skip to content

chore(deps): update dependency tsx to v4.15.2 #262

chore(deps): update dependency tsx to v4.15.2

chore(deps): update dependency tsx to v4.15.2 #262

Workflow file for this run

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