build(deps): update node.js to v20.18.1 #2108
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: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
- '*/*' | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: 'Build 🧱' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup 👨🏻💻 | |
uses: ./.github/actions/setup | |
- name: Build Application 🧱 | |
run: bun run build | |
lint: | |
name: 'Lint 🐱' | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup 👨🏻💻 👨🏻💻 | |
uses: ./.github/actions/setup | |
- name: Lint 🐱 | |
run: bun run lint | |
test: | |
name: 'Test 🧪' | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup 👨🏻💻 | |
uses: ./.github/actions/setup | |
- name: Run unit tests 🧪 | |
run: bun run test:coverage | |
- name: Collect coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |