Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Fix publish again

Fix publish again #3

Workflow file for this run

name: Publish
on:
push:
branches:
- master
permissions:
contents: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Build
run: npm ci
- name: Publish
run: |
npm publish
npm version patch
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}}
- name: Push updated version
run: |
git config --global user.name "github_ci"
git config --global user.email "[email protected]"
git add git add package*.json
git commit -m "Version up [skip ci]"
git push