Reduced Actions script to just linting and testing

This commit is contained in:
n1474335 2021-01-22 14:33:35 +00:00
parent 11a1416dcc
commit 6129378854
1 changed files with 10 additions and 10 deletions

View File

@ -20,17 +20,17 @@ jobs:
run: npx grunt lint
- name: Unit Tests
run: |
npx grunt test
npm test
sudo npx grunt testnodeconsumer
- name: Production Build
run: npx grunt prod
- name: UI Tests
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/prod
# - name: Production Build
# run: npx grunt prod
# - name: UI Tests
# run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./build/prod
# Once NPM_AUTH_TOKEN set up in repo, uncomment this
#- name: Deploy to NPM
# run: |