Skip to content

fixed test script

fixed test script #2

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-frontend:
runs-on: ubuntu-latest
env:
working-directory: projects/storage-manager
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm ci
npm run build
working-directory: ${{env.working-directory}}
- name: Test
run: |
npm run test
working-directory: ${{env.working-directory}}