Improving CI pipeline #1
Workflow file for this run
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Continuous Integration" | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
continuous-integration: | |
name: "Continuous Integration" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/[email protected]" | |
- name: "Setup NodeJS" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: "Install dependencies" | |
run: npm ci | |
- name: "Typecheck" | |
run: npm run typecheck | |
- name: "Lint" | |
run: npm run lint |