Skip to content

Transform repository to properly fit GitHub Actions #10

Transform repository to properly fit GitHub Actions

Transform repository to properly fit GitHub Actions #10

Workflow file for this run

name: CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
permissions:
contents: read
jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Check Format
id: npm-format-check
run: npm run format:check
- name: Lint
id: npm-lint
run: npm run lint