Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit f6fe336

Browse files
committed
fix(release.yaml): update
1 parent fc1f634 commit f6fe336

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/relase.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
name: Run test and publish
1313
timeout-minutes: 60
1414
runs-on: ubuntu-latest
15+
permissions:
16+
id-token: write
1517
steps:
1618
- uses: actions/checkout@v4
1719
- uses: actions/setup-node@v4
@@ -24,20 +26,15 @@ jobs:
2426
npm install -g pnpm
2527
pnpm install
2628
27-
- name: Compile TypeScript
28-
run: npx tsc
29-
30-
- name: Copy styles to dist
31-
run: |
32-
mkdir -p dist/core
33-
cp -r src/core/styles dist/core/
29+
- name: Compile and create dist
30+
run: npm run build
3431

3532
- name: Install e2e dependencies
3633
run: |
3734
cd e2e/site
3835
pnpm install
3936
40-
- name: Copy local typedcssx
37+
- name: Copy new dist
4138
run: |
4239
rm -rf e2e/site/node_modules/typedcssx/dist
4340
cp -r dist e2e/site/node_modules/typedcssx/
@@ -77,6 +74,6 @@ jobs:
7774
mkdir publish
7875
cp -r bin compiler dist next license readme.md npm/package.json ./publish
7976
cd publish
80-
npm publish
77+
npm publish --provenance
8178
env:
8279
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)