Skip to content

bump version to 1.1.3 #9

bump version to 1.1.3

bump version to 1.1.3 #9

Workflow file for this run

name: Build
on:
release:
types: [created]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm test
env:
CI: true
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
publish-npm:
name: Publish npm packages
runs-on: ubuntu-latest
needs: sonarcloud
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run publish:master
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}