Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AndWeHaveAPlan authored Oct 1, 2024
1 parent 71b1901 commit 5c706a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tag-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ jobs:

npm-publish-dry-run:
runs-on: ubuntu-latest
#container:
# image: "node:16"
# options: -u node
needs: [deny, test]
if: ${{ github.event_name == 'pull_request' }}
steps:
Expand Down Expand Up @@ -198,7 +195,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Some job

- name: Publish
run: |
echo "tag result: ${{ needs.tag.outputs.TAG }}"
echo "pkg version: ${{ needs.tag.outputs.PKG_VER }}"
Expand All @@ -207,14 +205,16 @@ jobs:
npm-publish:
runs-on: ubuntu-latest
container:
image: "node:16"
needs: [tag]
if: ${{ needs.tag.outputs.TAG == 'new' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Some job
- uses: actions/setup-node@v4
with:
node-version: '16'

- name: Publish
run: |
echo "tag result: ${{ needs.tag.outputs.TAG }}"
echo "pkg version: ${{ needs.tag.outputs.PKG_VER }}"
Expand Down

0 comments on commit 5c706a7

Please sign in to comment.