Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
580 B
YAML
27 lines
580 B
YAML
name: validate-scripts
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate-scripts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
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
|