File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bootstrap
2+ description : Install dependencies
3+
4+ inputs :
5+ version :
6+ description : Bumped version
7+ required : true
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - uses : ./.github/actions/setup
13+ with :
14+ version : ${{ inputs.version }}
15+
16+ - uses : ./.github/actions/cache-dependencies
17+
18+ - shell : bash
19+ run : yarn install --frozen-lockfile
Original file line number Diff line number Diff line change 1+ name : Build
2+ description : Build sources
3+
4+ inputs :
5+ version :
6+ description : Bumped version
7+ required : true
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - uses : ./.github/actions/setup
13+ with :
14+ version : ${{ inputs.version }}
15+
16+ - uses : ./.github/actions/cache-dependencies
17+
18+ - uses : ./.github/actions/cache-build
19+
20+ - shell : bash
21+ run : yarn lerna version ${{ inputs.version }} -y --no-git-tag-version
22+
23+ - shell : bash
24+ run : yarn build-deps
25+
26+ - shell : bash
27+ run : yarn workspace chrome-extension build
28+
29+ - shell : bash
30+ run : yarn workspace ms-word-addin build
31+
32+ - shell : bash
33+ run : ls ./apps/chrome-extension
34+
35+ - shell : bash
36+ run : ls ./apps/chrome-extension/dist
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Deploy
2+ description : Deploy sources
3+
4+ inputs :
5+ version :
6+ description : Bumped version
7+ required : true
8+ npm_token :
9+ description : NPM Token
10+ required : true
11+ gh_token :
12+ description : Github Token
13+ required : true
14+
15+ runs :
16+ using : composite
17+ steps :
18+ - uses : ./.github/actions/setup
19+ with :
20+ version : ${{ inputs.version }}
21+
22+ - uses : ./.github/actions/cache-dependencies
23+
24+ - uses : ./.github/actions/cache-packages
25+ with :
26+ version : ${{ inputs.version }}
27+
28+ - shell : bash
29+ run : git config user.name "github-ci"
30+
31+ - shell : bash
32+ run : git config user.email "${{ github.server_url }}"
33+
34+ # This not working yet, we need a token that have access to push tag on master
35+ - shell : bash
36+ run : yarn lerna publish ${{ inputs.version }} -y --force
37+ env :
38+ GH_TOKEN : ${{ github.token }}
39+ GITHUB_TOKEN : ${{ github.token }}
40+ NPM_TOKEN : ${{ inputs.npm_token }}
41+
42+ - shell : bash
43+ run : gh release create v${{ inputs.version }} -t 'readapt v${{ inputs.version }}' --generate-notes ./apps/chrome-extension/dist/readapt-chrome-extension-v${{ inputs.version }}.zip
44+ # run: gh release create v${{ inputs.version }} -t 'readapt v${{ inputs.version }}' -F ./CHANGELOG-v${{ inputs.version }}.md ./apps/chrome-extension/dist/readapt-chrome-extension-v${{ inputs.version }}.zip
45+ env :
46+ GITHUB_TOKEN : ${{ github.token }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Lint
2+ description : Lint sources
3+
4+ inputs :
5+ version :
6+ description : Bumped version
7+ required : true
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - uses : ./.github/actions/setup
13+ with :
14+ version : ${{ inputs.version }}
15+
16+ - uses : ./.github/actions/cache-dependencies
17+
18+ - shell : bash
19+ run : yarn lint
Original file line number Diff line number Diff line change 1+ name : Package
2+ description : Package sources
3+
4+ inputs :
5+ version :
6+ description : Bumped version
7+ required : true
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - uses : ./.github/actions/setup
13+ with :
14+ version : ${{ inputs.version }}
15+
16+ - uses : ./.github/actions/cache-dependencies
17+
18+ - uses : ./.github/actions/cache-build
19+
20+ - uses : ./.github/actions/cache-packages
21+ with :
22+ version : ${{ inputs.version }}
23+
24+ - shell : bash
25+ run : yarn lerna version ${{ inputs.version }} -y --no-git-tag-version
26+
27+ - shell : bash
28+ run : ls ./apps/chrome-extension
29+
30+ - shell : bash
31+ run : ls ./apps/chrome-extension/dist
32+
33+ - shell : bash
34+ run : cd ./apps/chrome-extension && yarn package
You can’t perform that action at this time.
0 commit comments