代码优化

This commit is contained in:
ikun
2024-09-15 16:18:21 +08:00
parent 98ce0c091a
commit 63391cb048
11 changed files with 45 additions and 40 deletions

View File

@@ -11,15 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v4
# Push tag to GitHub if package.json version's tag is not tagged
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11.9
# Push tag to GitHub if package.json version's tag is not tagged
- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip