Reduced Actions script to just linting and testing
This commit is contained in:
parent
11a1416dcc
commit
6129378854
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user