Skip to content

Commit

Permalink
build(actions): fix nightly build
Browse files Browse the repository at this point in the history
Fix issue with publishing package and move nightly version script to run before building the dist. Also changed time to 22:30 UTC to make it more "nightly" (mostly to test 馃槃)
  • Loading branch information
Sean committed Oct 18, 2019
1 parent 4b1d548 commit 00f68a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Nightly
on:
schedule:
- cron: 0 22 * * *
- cron: 30 22 * * *
jobs:
build:
name: Build nightly distribution
Expand All @@ -18,11 +18,11 @@ jobs:
run: sh ./scripts/preinstall.sh
- name: install dependencies
run: npm install --ignore-scripts
- name: fomantic install & gulp build
run: npx gulp install
- name: update nightly version
run: node ./scripts/nightly-version.js
- name: fomantic install & build
run: npx gulp install
- name: publish to npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
run: npm publish --tag nightly

0 comments on commit 00f68a8

Please sign in to comment.