-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GitHub Actions instead of Travis
- Loading branch information
Showing
9 changed files
with
405 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Test and build | ||
uses: actions/setup-node@v1 | ||
- run: npm install | ||
- run: npm run test | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Deploy | ||
env: | ||
CI: true | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: setup Node | ||
uses: actions/setup-node@v1 | ||
- run: npm install | ||
- name: Github pages | ||
uses: sterlingwes/[email protected] | ||
with: | ||
access-token: ${{ secrets.ACCESS_TOKEN }} | ||
source-directory: dist/ngx-schema-form | ||
build-command: npm run build-demo | ||
- name: Tag | ||
run: ./tag-version.sh | ||
- run: npm run build:lib | ||
- name: Publish | ||
uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
package: ./dist/schema-form/package.json |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.