Bump cross-spawn from 7.0.3 to 7.0.6 #34
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: Reference Architecture tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test-frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the frontend microservice directory | |
working-directory: ./semantic-search-postgres | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend tests with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i | |
- run: npm run test | |
build-frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the frontend microservice directory | |
working-directory: ./semantic-search-postgres | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend build with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i | |
- run: npm run build | |
test-pelican: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the pelican microservice directory | |
working-directory: ./pelican | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend build with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i -g pnpm@8.6.12 | |
- run: pnpm i | |
- run: npm run test | |
build-pelican: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the pelican microservice directory | |
working-directory: ./pelican | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend build with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i -g pnpm@8.6.12 | |
- run: pnpm i | |
- run: npm run build | |
test-emu: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the emu microservice directory | |
working-directory: ./emu | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend build with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i -g pnpm@8.6.12 | |
- run: pnpm i | |
- run: npm run test | |
build-emu: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
# Set the following jobs to all run in the emu microservice directory | |
working-directory: ./emu | |
strategy: | |
matrix: | |
node-version: [20.0.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run frontend build with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i -g pnpm@8.6.12 | |
- run: pnpm i | |
- run: npm run build |