Skip to content

Bump braces from 3.0.2 to 3.0.3 (#353) #244

Bump braces from 3.0.2 to 3.0.3 (#353)

Bump braces from 3.0.2 to 3.0.3 (#353) #244

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
working-directory: .
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: corepack enable
- working-directory: ${{ env.working-directory }}
run: yarn install --immutable
- name: Test
working-directory: ${{ env.working-directory }}
run: yarn test
- name: Build
working-directory: ${{ env.working-directory }}
run: yarn run build
- name: Archive Production Artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: ${{ env.working-directory }}/dist
deploy:
needs: build
runs-on: ubuntu-latest
env:
CI: true
working-directory: .
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: dist
path: ${{ env.working-directory }}/dist
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: corepack enable
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_SEC_WEBSITE_CA255 }}"
channelId: live
projectId: sec-website-ca255