Skip to content

chore(master): release 0.4.7 (#600) #11

chore(master): release 0.4.7 (#600)

chore(master): release 0.4.7 (#600) #11

Workflow file for this run

name: CI Master
on:
push:
branches: [master, main]
jobs:
test_and_publish:
runs-on: ubuntu-latest
permissions:
attestations: write
checks: read
contents: write
deployments: write
id-token: write
issues: write
packages: write # allow GITHUB_TOKEN to publish packages
pull-requests: write
repository-projects: write
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
registry-url: "https://registry.npmjs.org/"
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Install dependencies
run: npm install
- name: Run checks
run: npm run check
- name: Run release-please
id: release_please
uses: googleapis/release-please-action@v4
with:
release-type: node
skip-github-release: false
skip-github-pull-request: false
- name: Build package
run: npm run build
- name: Publish to npm using JS-DevTools/npm-publish (if not released already)
uses: JS-DevTools/npm-publish@v3
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
- if: ${{ steps.publish.outputs.type }}
run: echo "Version changed!"