Release #6
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: Release | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
project_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "18" | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run build | ||
run: npm run build | ||
project_deploy: | ||
runs-on: ubuntu-latest | ||
needs: project_build | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js and cache | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "18" | ||
cache: "npm" | ||
- name: Download Artifact | ||
run: actions/download-artifact@main | ||
with: dist | ||
Check failure on line 34 in .github/workflows/release.yml
|
||
path: dist | ||
- name: Deploy to Firebase | ||
uses: joinflux/firebase-tools@main | ||
with: | ||
args: deploy --only hosting | ||
env: | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |