Skip to content

Commit

Permalink
ci, not i
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjs committed Aug 5, 2024
1 parent 41cd7c3 commit 293d99d
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:

PipelineTests:
name: Test (${{ matrix.node }} | ${{ matrix.platform.os }})
if: false
defaults:
run:
shell: bash
Expand Down Expand Up @@ -94,7 +93,7 @@ jobs:
Publish:
name: Publish
if: ${{ github.ref == 'refs/heads/main' }}
# if: ${{ github.ref == 'refs/heads/main' }}
needs:
- CiBuild # For version variable
- PipelineTests # Requires passing tests
Expand All @@ -117,14 +116,16 @@ jobs:
run: sed -i 's/0.0.0-gitversion/${{ env.semVer }}/g' package.json

- name: Install
run: npm install

- name: Publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: git tag
run: |
git tag v${{ env.semVer }}
git push origin tag v${{ env.semVer }}
run: npm ci

- name: Pack
run: npm pack
# - name: Publish
# run: npm publish --provenance --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
#
# - name: git tag
# run: |
# git tag v${{ env.semVer }}
# git push origin tag v${{ env.semVer }}

0 comments on commit 293d99d

Please sign in to comment.