Merge branch 'master' into develop #174
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: build, test and lint | |
on: | |
push : | |
branches : [ "**" ] | |
pull_request: | |
types: [ opened ] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: π Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: π Config files | |
run: | | |
echo "$FIREBASE_CONFIG_DEV" > ./src/config/firebaseAuthConfig.js | |
env: | |
FIREBASE_CONFIG_DEV: ${{ secrets.FIREBASE_CONFIG_DEV }} | |
- name: π¦ Install dependencies | |
run: yarn install --pure-lockfile --non-interactive | |
- name: π¦ Run test | |
run: yarn test | |
- name: π¦ Run lint | |
run: yarn lint |