Build Test Lint of 400/merge by @dependabot[bot] #128
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 Test Lint' | |
run-name: Build Test Lint of ${{ github.ref_name }} by @${{ github.actor }} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: false | |
jobs: | |
build: | |
uses: scientist-softserv/actions/.github/workflows/[email protected] | |
secrets: inherit | |
with: | |
platforms: 'linux/amd64' | |
webTarget: web | |
cypress: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cypress e2e | |
uses: cypress-io/github-action@v6 | |
with: | |
start: yarn start | |
wait-on: 'http://localhost:3000' | |
eslint: | |
needs: build | |
uses: scientist-softserv/actions/.github/workflows/[email protected] | |
with: | |
lint_cmd: docker compose run web sh -c 'yarn && yarn lint' |