Skip to content

Commit b8f4cdf

Browse files
committed
Revert "bugfix: Attempt at fixing #26 by excluding PRs from dependabot[bot] from triggering an npm publish and tag; also move to node-20 for future support"
This reverts commit b6e2d52.
1 parent 20f589c commit b8f4cdf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/reference-lib.publish.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ defaults:
1212
working-directory: ./reference-lib
1313
shell: bash
1414

15+
1516
jobs:
1617
build:
1718
runs-on: ubuntu-latest
@@ -22,7 +23,7 @@ jobs:
2223
- uses: actions/checkout@v4
2324
- uses: actions/setup-node@v4
2425
with:
25-
node-version: '20.x'
26+
node-version: '16.x'
2627
registry-url: 'https://npm.pkg.github.com'
2728
scope: '@nginxinc'
2829
- name: Install dependencies
@@ -34,12 +35,12 @@ jobs:
3435
- name: get package-version
3536
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
3637
- name: publish package
37-
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
38+
if: github.event_name == 'push'
3839
run: npm publish
3940
env:
4041
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4142
- name: Create and push tag
42-
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
43+
if: github.event_name == 'push'
4344
uses: mathieudutour/[email protected]
4445
with:
4546
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)