Proof of concept moving from emotion -> css modules #158
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
cache-dependency-path: 'app/yarn.lock' | |
- name: Install modules | |
working-directory: ./app | |
run: yarn install --frozen-lockfile | |
- name: Build i18n files | |
working-directory: ./app | |
run: yarn compileI18n | |
- name: Copy dummy fb config | |
working-directory: ./app | |
run: cp ./firebaseConfig.emulators.ts ./firebaseConfig.ts | |
- name: Lint | |
working-directory: ./app | |
run: yarn lint | |
- name: Check formatting | |
working-directory: ./app | |
run: yarn checkFormat | |
- name: Run tests | |
working-directory: ./app | |
run: | | |
npm install -g firebase-tools | |
firebase emulators:exec --only firestore --project demo-crosshare 'NODE_OPTIONS='--experimental-vm-modules' npx jest --ci' |