Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Add env vars to GHA workflow using secrets. #498

Add env vars to GHA workflow using secrets.

Add env vars to GHA workflow using secrets. #498

Workflow file for this run

name: Run Tests
on: [push]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
env:
B2_KEY_ID: ${{ secrets.B2_KEY_ID }}
B2_APPLICATIONS_KEY: ${{ secrets.B2_APPLICATION_KEY }}
B2_BUCKET_ID: ${{ secrets.B2_BUCKET_ID }}
steps:
- uses: actions/checkout@v4
- name: Install front end NPM deps
run: npm ci
- name: Build front end
run: npm run build
- name: Install back end NPM deps
run: cd backend && npm ci && cd ..
- run: npm test