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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user