BREAKING: disable reviveNumbers
and reviveBooleans
options by def…
#69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Setup Velociraptor | |
uses: jurassiscripts/setup-velociraptor@v1 | |
- name: Run linter | |
run: vr lint | |
format: | |
name: Format code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Setup Velociraptor | |
uses: jurassiscripts/setup-velociraptor@v1 | |
- name: Run formatter | |
run: vr fmt | |
tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Setup Velociraptor | |
uses: jurassiscripts/setup-velociraptor@v1 | |
- name: Run tests | |
run: vr test | |
analyze: | |
name: Analyze code | |
runs-on: ubuntu-latest | |
needs: | |
- lint | |
- format | |
- tests | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
languages: typescript | |
config-file: ./.github/codeql.yml | |
- name: Analyze code | |
uses: github/codeql-action/analyze@v1 |