Skip to content

Commit

Permalink
Remove yarn installation step and checkout the repo before generating…
Browse files Browse the repository at this point in the history
… changelog
  • Loading branch information
nblagoev committed Jun 11, 2020
1 parent 9d9df50 commit 4ce27ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: install and build
run: |
yarn install
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- name: install and build
run: |
yarn install
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- run: npm install -g yarn

- name: install and build
run: |
yarn install
Expand All @@ -84,6 +82,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Get Previous Tag
run: |
PREV_TAG=$(git describe --abbrev=0 --tags "${{ github.ref }}^")
Expand Down

0 comments on commit 4ce27ef

Please sign in to comment.