File tree Expand file tree Collapse file tree 10 files changed +26
-68
lines changed
Expand file tree Collapse file tree 10 files changed +26
-68
lines changed Original file line number Diff line number Diff line change 1111 - ' packages/**/*.ts'
1212 - ' packages/**/*.tsx'
1313 - ' www/src/**/'
14- - ' !lerna.json'
14+ - ' **/package*.json'
15+ tags-ignore :
16+ - v*
1517jobs :
1618 website :
1719 runs-on : ubuntu-latest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 - ' packages/**/*.ts'
1212 - ' packages/**/*.tsx'
1313 - ' **/package*.json'
14- - ' !lerna.json '
15-
14+ tags-ignore :
15+ - v*
1616jobs :
1717 release-pull-request :
1818 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Release & Publish NPM Packages
33# This workflow does the following if repo does not have git tag that was updated in lerna.json
44# - creates release git tag
55# - publishes packages to NPM with latest tag
6+ # - publishes version documentation to web site and aliases /latest to release version
67#
78# This workflow is expected to run after merge of release pull requested created by release-pull-request workflow.
89
2021 - name : Clone repository
2122 uses : actions/checkout@v2
2223 with :
24+ persist-credentials : false
2325 ref : main
2426 fetch-depth : 0
2527
6870
6971 - name : Publish to NPM registry
7072 run : yarn lerna publish from-package --yes
73+
74+ - name : Build web site
75+ run : |
76+ yarn website-latest
77+
78+ - name : Deploy 🚀
79+ 80+ with :
81+ BRANCH : docs # The branch the action should deploy to.
82+ CLEAN : false # Automatically remove deleted files from the deploy branch
83+ FOLDER : docs # The folder the action should deploy.
84+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85+ # SINGLE_COMMIT: true
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
Original file line number Diff line number Diff line change 66 "module" : " lib/index.js" ,
77 "types" : " lib/index.d.ts" ,
88 "files" : [
9- " cjs" ,
10- " esm" ,
11- " types"
9+ " lib"
1210 ],
1311 "sideEffects" : false ,
1412 "repository" : {
You can’t perform that action at this time.
0 commit comments