Skip to content

Commit

Permalink
deatached head workaround (via #117)
Browse files Browse the repository at this point in the history
  • Loading branch information
sseliverstov authored Mar 12, 2020
1 parent e94c325 commit 64cde8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: npm install, build
run: |
npm install
Expand All @@ -22,6 +25,7 @@ jobs:
npm run run-test
env:
CI: true

- name: npm release
run: |
npm run version -- ${GITHUB_REF:10}
Expand Down

0 comments on commit 64cde8e

Please sign in to comment.