feat: initial commit #1
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: | |
workflow_dispatch: | |
jobs: | |
Linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: volta-cli/action@v3 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/matchers/eslint.json" | |
- name: Install dependencies | |
uses: ./.github/actions/yarn | |
- name: Lint | |
run: yarn lint | |
Building: | |
name: Building and testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: volta-cli/action@v3 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/matchers/tsc.json" | |
- name: Install dependencies | |
uses: ./.github/actions/yarn | |
- name: Build | |
run: yarn build:ci |