Skip to content

Epic/dev 3 authentication #40

Epic/dev 3 authentication

Epic/dev 3 authentication #40

Workflow file for this run

name: Atlas 3.0 CI
on:
pull_request:
branches:
- main
- epic/*
jobs:
test:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
environment: test
env:
VITE_FIREBASE_KEY: ${{ secrets.VITE_FIREBASE_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Cache Firebase Emulator
uses: actions/cache@v4
with:
path: ~/.cache/firebase/emulators
key: ${{ runner.os }}-firebase-emulator-${{ hashFiles('**/firebase.json') }}
restore-keys: |
${{ runner.os }}-firebase-emulator-
- name: Install Firebase Emulator Suite
run: npm install -g firebase-tools
- name: Install dependencies
run: yarn
- name: Run Vitest
run: firebase emulators:exec "yarn test"