mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
fix: package version in released files
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user