⬆️ Bump jose from 4.14.4 to 4.15.5 #781
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
# This workflow will do a clean install of node dependencies, build the source | |
# code and run the available tests | |
name: Tests | |
on: | |
push: | |
branches: [ main, next ] | |
pull_request: | |
branches: [ main, next ] | |
env: | |
CI: true | |
FIREBASE_EMULATORS_PATH: $GITHUB_WORKSPACE/emulator-cache | |
jobs: | |
test: | |
environment: development | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install firebase-tools globally | |
run: yarn global add firebase-tools | |
- name: Create .env file | |
run: cp .env.example .env | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Lint the source files | |
run: yarn lint | |
- name: Type check | |
run: yarn type-check | |
- name: Validate the translations | |
run: yarn translations-check | |
- name: Execute the tests | |
run: yarn test | |
- name: Execute the firebase rules tests | |
run: yarn test:firestore:rules | |
# - name: Execute the firebase model tests | |
# run: yarn test:firestore:integration | |
- name: Cache firebase emulators | |
uses: actions/cache@v3 | |
with: | |
path: ${{ env.FIREBASE_EMULATORS_PATH }} | |
key: ${{ runner.os }}-firebase-emulators-${{ hashFiles('emulator-cache/*.{jar,zip}') }} | |
continue-on-error: true |