add ReleaseBot Discord Webhook to Publish Docker Image action #199
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: Lint, Test & Build | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 9.1.0 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: "pnpm" | |
node-version: 20.12.2 | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm lint | |
- name: Format | |
run: pnpm format:check | |
- name: Test | |
run: pnpm test | |
- name: Build | |
run: pnpm build | |
env: | |
NODE_ENV: production | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |