fix(style): change .fd-col-rev to .rev-fd-col #435
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: Deploy CMS | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'definitions/**/*' | |
- 'client/projects/cms/**/*' | |
- '.github/workflows/cms.workflow.yml' | |
jobs: | |
deploy: | |
timeout-minutes: 15 | |
name: Deploy | |
runs-on: ubuntu-latest | |
env: | |
project: 'jaspero-jms' | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Use Node.js 18.16.0 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.16.0 | |
- name: Cache dependencies | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
client/node_modules | |
definitions/node_modules | |
key: npm-${{ hashFiles('client/package-lock.json') }}-${{ hashFiles('definitions/package-lock.json') }} | |
- name: Install Definitions | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
npm --prefix definitions ci --ignore-scripts | |
- name: Build Definitions | |
run: npm --prefix definitions run build | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
npm --prefix client ci --ignore-scripts | |
- name: Build | |
run: npm run build:cms | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@master | |
with: | |
args: deploy --only hosting:cms | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
PROJECT_ID: ${{ env.project }} |