-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (32 loc) · 965 Bytes
/
deploy.yml
File metadata and controls
32 lines (32 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
with:
node-version: 14.17.0
- run: npm install
- name: Github pages
uses: sterlingwes/gh-pages-deploy-action@v1.1
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
source-directory: dist/angular-traversal
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/traversal/package.json