Skip to content

Merge pull request #1819 from codecrafters-io/dependabot/npm_and_yarn… #21

Merge pull request #1819 from codecrafters-io/dependabot/npm_and_yarn…

Merge pull request #1819 from codecrafters-io/dependabot/npm_and_yarn… #21

name: Publish Bundle
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_production_bundle:
runs-on: depot-ubuntu-22.04-16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci --prefer-offline --ignore-scripts --no-audit --no-fund
- run: npm run build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
BACKEND_URL: "https://backend.codecrafters.io"