build(deps): update dependency eslint-plugin-import-helpers to v2 #2058
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, feat-reports-page] | |
pull_request: | |
branches: '**' | |
jobs: | |
build: | |
name: 'Build 🧱' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@master | |
- name: Setup 👨🏻💻 | |
uses: ./.github/actions/setup | |
- name: Build Application 🧱 | |
run: bun run build | |
env: | |
NEXT_PUBLIC_API_URL: https://api.example.com | |
AUTH_SPOTIFY_ID: secret | |
AUTH_SPOTIFY_SECRET: secret | |
NEXTAUTH_URL: https://example.com | |
AUTH_SECRET: secret | |
NEXT_PUBLIC_USER_ID: secret | |
lint: | |
name: 'Lint 🐱' | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@master | |
- name: Setup 👨🏻💻 | |
uses: ./.github/actions/setup | |
- name: Lint JS files 🐱 | |
run: bun run lint:js | |
- name: Lint CSS files 🐱 | |
run: bun run lint:css | |
test: | |
name: 'Test 🧪' | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@master | |
- 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 }} |