Skip to content

chore(release): 0.4.3 #2

chore(release): 0.4.3

chore(release): 0.4.3 #2

Workflow file for this run

name: CI Master
on:
push:
branches: [master, main]
jobs:
test_and_publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # allow GITHUB_TOKEN to publish packages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 22
- run: npm install
- run: npm run check
- run: npm run build
- uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run test
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov
- uses: JS-DevTools/npm-publish@v3
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
- if: ${{ steps.publish.outputs.type }}
run: echo "Version changed!"