chore(deps): update all major dependencies (major) #1149
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: π§ Build - Build sources | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-extension: | |
name: π Build Extension | |
runs-on: ubuntu-latest | |
steps: | |
- name: β Checkout branch ${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: π§ Build | |
uses: ./.github/actions/build | |
with: | |
trakt_production_id: ${{ secrets.VITE_TRAKT_PRODUCTION_ID }} | |
trakt_production_secret: ${{ secrets.VITE_TRAKT_PRODUCTION_SECRET }} | |
trakt_staging_id: ${{ secrets.VITE_TRAKT_STAGING_ID }} | |
trakt_staging_secret: ${{ secrets.VITE_TRAKT_STAGING_SECRET }} | |
tmdb_api_key: ${{ secrets.VITE_TMDB_API_KEY }} | |
tmdb_read_token: ${{ secrets.VITE_TMDB_READ_TOKEN }} | |
tvdb_api_key: ${{ secrets.VITE_TVDB_API_KEY }} | |
simkl_client_id: ${{ secrets.VITE_SIMKL_CLIENT_ID }} | |
simkl_client_secret: ${{ secrets.VITE_SIMKL_CLIENT_SECRET }} | |
build-web: | |
name: βοΈ Build Web | |
runs-on: ubuntu-latest | |
steps: | |
- name: β Checkout branch ${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: π§ Build | |
uses: ./.github/actions/build | |
with: | |
script: 'build:web' | |
trakt_production_id: ${{ secrets.VITE_TRAKT_PRODUCTION_ID }} | |
trakt_production_secret: ${{ secrets.VITE_TRAKT_PRODUCTION_SECRET }} | |
trakt_staging_id: ${{ secrets.VITE_TRAKT_STAGING_ID }} | |
trakt_staging_secret: ${{ secrets.VITE_TRAKT_STAGING_SECRET }} | |
tmdb_api_key: ${{ secrets.VITE_TMDB_API_KEY }} | |
tmdb_read_token: ${{ secrets.VITE_TMDB_READ_TOKEN }} | |
tvdb_api_key: ${{ secrets.VITE_TVDB_API_KEY }} | |
simkl_client_id: ${{ secrets.VITE_SIMKL_CLIENT_ID }} | |
simkl_client_secret: ${{ secrets.VITE_SIMKL_CLIENT_SECRET }} | |
test: | |
name: π§ͺ Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: β Checkout branch ${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: 𧱠Install | |
uses: ./.github/actions/install | |
- name: π§ͺ Unit tests | |
run: | | |
# ================= π§ͺ Unit tests ================= | |
pnpm run test:unit | |
lint: | |
name: π§Ή Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: β Checkout branch ${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: 𧱠Install | |
uses: ./.github/actions/install | |
- name: π§Ή Eslint | |
run: | | |
# ================= π§Ή Eslint ================= | |
pnpm run lint | |
- name: πͺ Stylelint | |
run: | | |
# ================= πͺ Stylelint ================= | |
pnpm run style |