chore: 更新eslint 9并修复大量代码风格错误 (#1343) #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tag a release | |
on: | |
push: | |
paths: | |
- package.json | |
branches: | |
- "master" | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
tag-if-needed: | |
runs-on: ${{ vars.ACTION_RUNNER_LABEL }} | |
if: github.event.repository.full_name == 'PKUHPC/SCOW' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
token: ${{ secrets.SCOW_DEPLOYMENT_PAT }} | |
- uses: fregante/setup-git-user@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Create tag if needed | |
run: node scripts/tag.mjs |