build(deps): bump rollup from 2.79.1 to 2.79.2 (#44) #162
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: | |
jobs: | |
Linting: | |
name: Running ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/problemMatchers/eslint.json" | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Run ESLint | |
run: yarn lint --fix=false | |
Building: | |
name: Compile source code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/problemMatchers/tsc.json" | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Typecheck code | |
run: yarn typecheck | |
- name: Build Code | |
run: yarn build | |
Testing: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Test | |
run: yarn test |