feat(scan): add template to scan create #852
Workflow file for this run
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: CI / Automated testing | |
on: | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
install-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install deps | |
uses: ./.github/workflows/composite/npm | |
test: | |
runs-on: ubuntu-latest | |
needs: install-deps | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [ 'lint', 'format', 'test:unit' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install deps | |
uses: ./.github/workflows/composite/npm | |
- name: Execute ${{ matrix.target }} npm script | |
run: npm run ${{ matrix.target }} -- $JEST_ARGUMENTS |