This repository was archived by the owner on Sep 28, 2024. It is now read-only.
chore(deps): bump send, serve-static and express in /server #111
Workflow file for this run
This file contains hidden or 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: JavaScript CI | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: [ 'client/**','server/**', 'src/**','*.ts','*.json','.github/workflows/ci-js.yml' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
target: [client, server] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
working-directory: ${{ matrix.target }} | |
- run: npm run build --if-present | |
env: | |
CI: false | |
working-directory: ${{ matrix.target }} | |
- run: npm test | |
working-directory: ${{ matrix.target }} |