Skip to content

build(deps): update node.js to v20.18.1 #2114

build(deps): update node.js to v20.18.1

build(deps): update node.js to v20.18.1 #2114

Workflow file for this run

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: pnpm 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: pnpm run lint:js
- name: Lint CSS files 🐱
run: pnpm 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: pnpm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}