A hackable template for creating small and fast browser games.
at main 27 lines 776 B view raw
1name: CD 2on: 3 push: 4 # Add "main" after bootstrapping src/ 5 branches: 6 - "!**" 7jobs: 8 build-and-deploy: 9 runs-on: ubuntu-latest 10 steps: 11 - name: 🛎️ Check out 12 uses: actions/checkout@v2 13 - name: 🧮 Use Node.js 14 uses: actions/setup-node@v1 15 with: 16 node-version: 16.x 17 - name: 📦 Install dependencies 18 run: npm ci 19 - name: 🧽 Lint 20 run: npm run lint 21 - name: 🛠️ Build 22 run: make -C play 23 - name: 🚀 Deploy 24 uses: JamesIves/github-pages-deploy-action@4.1.1 25 with: 26 branch: gh-pages 27 folder: play