Skip to content

Merge remote-tracking branch 'origin/v1.1' into v1.1 #2

Merge remote-tracking branch 'origin/v1.1' into v1.1

Merge remote-tracking branch 'origin/v1.1' into v1.1 #2

Workflow file for this run

on:
push:
branches:
- master
paths:
- 'JavaScript/package.json' # The version number must be bumped in order to publish to npm
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
name: Publish to npm
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: cd JavaScript && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}