Skip to content

feature: add golden ratio indicators #48

feature: add golden ratio indicators

feature: add golden ratio indicators #48

Workflow file for this run

name: build-test-deploy
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm install --legacy-peer-deps
- run: npm run build -- --configuration=production
- run: npm run test-ci
- name: Archive Production Artifact
uses: actions/upload-artifact@master
with:
name: www
path: www
deploy:
runs-on: ubuntu-latest
needs: [build-test]
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Download Artifact
uses: actions/download-artifact@master
with:
name: www
path: www
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BATCH1_161201 }}