Skip to content

refactor: use the new getVersion function #49

refactor: use the new getVersion function

refactor: use the new getVersion function #49

Workflow file for this run

name: Build and Check
on:
push:
branches: [ "main" ]
paths:
- '.github/actions/build/**/*'
- '.github/workflows/build.yml'
- 'src/**/*'
- '.nvmrc'
- '.xo-config.json'
- 'index.html'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
pull_request:
branches:
- main
paths:
- '.github/actions/build/**/*'
- '.github/workflows/build.yml'
- 'src/**/*'
- '.nvmrc'
- '.xo-config.json'
- 'index.html'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
with:
npm-script: 'tsc'
- name: Check
run: npm test