build(deps-dev): bump @types/node from 18.15.11 to 18.18.5 #474
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 | |
build-and-test: | |
runs-on: ubuntu-latest | |
needs: install-deps | |
strategy: | |
fail-fast: false | |
matrix: | |
target: ['lint', 'format', 'build', 'test', 'e2e'] | |
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 | |
if: ${{ matrix.target != 'e2e' }} | |
run: npm run ${{ matrix.target }} | |
- name: Execute e2e npm script | |
if: ${{ matrix.target == 'e2e' }} | |
uses: cypress-io/github-action@v5 | |
timeout-minutes: 10 | |
with: | |
wait-on: 'http://localhost:8080/' | |
wait-on-timeout: 120 | |
start: npm start | |
browser: chrome | |
record: ${{ github.repository == 'NeuraLegion/cypress-har-generator' }} | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |