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