Skip to content

Update version to 0.1.2 in package-lock.json and package.json #23

Update version to 0.1.2 in package-lock.json and package.json

Update version to 0.1.2 in package-lock.json and package.json #23

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
registry-url: "https://registry.npmjs.org"
- run: npm install
working-directory: ./
- run: npm run build
working-directory: ./
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- run: npm version patch -m "Bump version to %s [skip ci]" --verbose
working-directory: ./
- run: git diff HEAD
- run: npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Bump version [skip ci]"