Skip to content

Commit

Permalink
fix(actions): use LTS syntax for node-version (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Sep 27, 2021
1 parent 90117d1 commit 6123db6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "12"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: npm --global install npm@latest
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
- run: echo "::set-output name=tag::${GITHUB_REF/refs\/tags\//}"
id: get_tag
- run: gh release create '${{ steps.get_tag.outputs.tag }}' --notes 'See the [changelog](https://github.com/${{ github.repository }}/blob/${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.'
env:
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: \\"12\\"
node-version: \\"lts/*\\"
registry-url: \\"https://registry.npmjs.org\\"
- run: npm --global install npm@latest
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: \${{ secrets.NPM_TOKEN }}
- run: echo ::set-output name=tag::\${GITHUB_REF/refs\\\\/tags\\\\//}
- run: echo \\"::set-output name=tag::\${GITHUB_REF/refs\\\\/tags\\\\//}\\"
id: get_tag
- run: gh release create '\${{ steps.get_tag.outputs.tag }}' --notes 'See the [changelog](https://github.com/\${{ github.repository }}/blob/\${{ steps.get_tag.outputs.tag }}/CHANGELOG.md) for more details.'
env:
Expand Down

0 comments on commit 6123db6

Please sign in to comment.