Skip to content

Bump json5 from 1.0.1 to 1.0.2 (#3) #14

Bump json5 from 1.0.1 to 1.0.2 (#3)

Bump json5 from 1.0.1 to 1.0.2 (#3) #14

Workflow file for this run

name: publish
on:
push:
branches:
- main
paths-ignore:
- .gitignore
- README.md
- '.github/ISSUE_TEMPLATE/**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Set git credentials
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git remote set-url origin "https://[email protected]/ZhiShuYun/HubFrontend"
env:
REPO_PAT: ${{ secrets.REPO_PAT }}
- name: Publish
run: yarn release -- --token "$NPM_TOKEN"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}