1
0
mirror of synced 2025-01-19 00:04:08 +01:00

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

View File

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