Skip to content

Commit

Permalink
update workflow ymal file
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Dec 14, 2024
1 parent 4667942 commit bea87d5
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,28 @@ jobs:
# ./packages/node-opcua-crypto-test/dist*

# - name: Run test
# run: npm test
# run: npm test
publish:
# Allows you to run this job manually from the Actions tab
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]

- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: 20.x

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Run lerna publish
run: npx lerna publish minor -y
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN || '' }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN || '' }}

0 comments on commit bea87d5

Please sign in to comment.