Merge pull request #34 from gabeklavans/bugfix/scoreboard-sounds #105
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: CI/CD | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- name: Build project 🔧 | |
run: | | |
npm install | |
npm run build | |
# - name: Upload Artifacts 🔺 # The project is then uploaded as an artifact named 'site'. | |
# uses: actions/upload-artifact@v1 | |
# with: | |
# name: site | |
# path: _build | |
# deploy: | |
# concurrency: ci-${{ github.ref }} | |
# needs: [build] # The second job must depend on the first one to complete before running and uses ubuntu-latest instead of windows. | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout 🛎️ | |
# uses: actions/checkout@v3 | |
# - name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder. | |
# uses: actions/download-artifact@v1 | |
# with: | |
# name: site | |
# - name: Deploy 🚀 | |
# uses: JamesIves/[email protected] | |
# with: | |
# branch: gh-pages | |
# folder: 'site' # The deployment fol |