|
|
|
@ -12,25 +12,9 @@ jobs:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
- name: use Node.js 16
|
|
|
|
|
|
|
|
uses: actions/setup-node@v2.1.2
|
|
|
|
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: '16.x'
|
|
|
|
node-version: '14'
|
|
|
|
|
|
|
|
- run: npx conventional-github-releaser -p angular
|
|
|
|
- name: Get yarn cache
|
|
|
|
|
|
|
|
id: yarn-cache
|
|
|
|
|
|
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache dependencies
|
|
|
|
|
|
|
|
uses: actions/cache@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: ${{ steps.yarn-cache.outputs.dir }}
|
|
|
|
|
|
|
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
|
|
|
restore-keys: |
|
|
|
|
|
|
|
|
${{ runner.os }}-yarn-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- run: yarn install
|
|
|
|
|
|
|
|
- run: npm run github-release
|
|
|
|
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.ACTIONS_DEPLOY_KEY}}
|
|
|
|
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.ACCESS_TOKEN}}
|
|
|
|
|