fix: package version in released files

This commit is contained in:
Harttle
2023-10-15 21:00:03 +08:00
parent c1c72b53d5
commit 67a5b229ca
2 changed files with 1 additions and 16 deletions
-16
View File
@@ -1,19 +1,8 @@
name: Release name: Release
on: workflow_dispatch on: workflow_dispatch
jobs: jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
uses: ./.github/workflows/build.yml
with:
os: ${{ matrix.os }}
test:
needs: build
uses: ./.github/workflows/test.yml
release: release:
name: Release name: Release
needs: [build, test]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@@ -26,11 +15,6 @@ jobs:
node-version: '18' node-version: '18'
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: dist-ubuntu-latest
path: dist
- name: Release - name: Release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1
View File
@@ -21,6 +21,7 @@
"test:e2e": "jest test/e2e", "test:e2e": "jest test/e2e",
"perf:diff": "bin/perf-diff.sh", "perf:diff": "bin/perf-diff.sh",
"perf:engines": "cd benchmark && npm run engines", "perf:engines": "cd benchmark && npm run engines",
"version": "npm run build && npm test",
"build": "rollup -c rollup.config.mjs", "build": "rollup -c rollup.config.mjs",
"build:cjs": "BUNDLES=cjs rollup -c rollup.config.mjs", "build:cjs": "BUNDLES=cjs rollup -c rollup.config.mjs",
"build:min": "BUNDLES=min rollup -c rollup.config.mjs", "build:min": "BUNDLES=min rollup -c rollup.config.mjs",