Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
572 B
YAML
27 lines
572 B
YAML
name: validate-scripts
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate-scripts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Typecheck
|
|
run: |
|
|
npm install
|
|
npx tsc -p tsconfig.json
|
|
|
|
- name: Run tests
|
|
run: node --test .github/scripts/**.test.ts
|