1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 00:17:04 +00:00

fixed williams test, github build stops if test fails

This commit is contained in:
Steven Hugg
2022-02-22 13:36:10 -06:00
parent b9fc162885
commit fdd7d79aaa
3 changed files with 51 additions and 50 deletions
+6 -3
View File
@@ -11,14 +11,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
@@ -30,9 +27,15 @@ jobs:
- run: git submodule update
- run: npm ci
- run: npm run build --if-present
test:
needs: build
steps:
- run: npm test
env:
TEST8BIT_GITHUB_TOKEN: ${{ secrets.TEST8BIT_GITHUB_TOKEN }}
deploy:
needs: test
steps:
- run: make distro
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.5