Skip to content

Commit 2e4f1bc

Browse files
committed
update github action workflow
1 parent 7e8bcc6 commit 2e4f1bc

File tree

3 files changed

+5
-84
lines changed

3 files changed

+5
-84
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,7 @@ jobs:
110110
# does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved
111111
run: pnpm playwright install chromium
112112

113-
- name: Restore dist cache
114-
uses: actions/cache@v4
115-
with:
116-
path: packages/*/dist
117-
key: build-vue-i18n-next-os-${{ matrix.os }}-${{ github.sha }}
118-
119-
- name: Build
113+
- name: Building
120114
run: pnpm build
121115

122116
- name: Testing
@@ -132,6 +126,7 @@ jobs:
132126
matrix:
133127
node-version: [18]
134128
os: [ubuntu-latest]
129+
135130
name: Nightly release
136131
steps:
137132
- name: Checkout codes
@@ -149,11 +144,8 @@ jobs:
149144
- name: Install dependencies
150145
run: pnpm install
151146

152-
- name: Restore dist cache
153-
uses: actions/cache@v4
154-
with:
155-
path: dist
156-
key: ${{ matrix.os }}-node-v${{ matrix.node-version }}-${{ github.sha }}
147+
- name: Building
148+
run: pnpm build:nightly
157149

158150
- name: Release Nightly
159151
if: |

.github/workflows/test.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787
},
8888
"scripts": {
8989
"prepare": "git config --local core.hooksPath .githooks",
90-
"prepublish": "npm run build",
9190
"changelog": "gh-changelogen --repo=@intlify/vue-i18n-extensions",
9291
"release": "bumpp --commit \"release: v%s\" --push --tag",
9392
"build": "pnpm build:transpile && pnpm build:extract && pnpm build:docs",
93+
"build:nightly": "pnpm build:transpile && pnpm build:extract",
9494
"build:docs": "api-docs-gen ./temp/vue-i18n-extensions.api.json -c ./docsgen.config.js -o ./docs",
9595
"build:extract": "api-extractor run -l -c ./api-extractor.json --typescript-compiler-folder node_modules/typescript",
9696
"build:transpile": "tsc -p tsconfig.build.json",

0 commit comments

Comments
 (0)