Skip to content

updates names and removes space #17

updates names and removes space

updates names and removes space #17

Workflow file for this run

name: Build & Unit Test CI
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'package.json'
- '!.github/**'
pull_request:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'package.json'
- 'package-lock.json'
env:
FAUNA_SECRET: ${{ secrets.VITE_FAUNA_SECRET }}
jobs:
test:
name: Unit Test CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log vars
run: |
echo $FAUNA_SECRET
- name: Install dependencies
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- name: NPM build
run: npm i tsup && npm run build
env:
VITE_FAUNA_SECRET: ${{ secrets.VITE_FAUNA_SECRET }}
- name: Run tests
run: |
npm run test
env:
VITE_FAUNA_SECRET: ${{ secrets.VITE_FAUNA_SECRET }}