Skip to content

Commit 980253a

Browse files
authored
Fix remove old publish script (#534)
* Remove old publish script * Remove package-lock on release * Remove package-lock.json in all actions
1 parent 1b96b39 commit 980253a

File tree

5 files changed

+7
-41
lines changed

5 files changed

+7
-41
lines changed

.github/workflows/e2e-next-example.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: install and build packages
3232
working-directory: ./
3333
run: |
34+
rm package-lock.json
3435
npm install
3536
npm run build
3637
# To ensure PR changes are tested accurately, we replace the

.github/workflows/eslint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
- uses: actions/setup-node@v2
99
with:
1010
node-version: '16'
11+
- run: rm package-lock.json
1112
- run: npm install
1213
- run: npm run build
1314
- run: npm run lint

.github/workflows/publish.yml

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

.github/workflows/release-packages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
with:
2222
node-version: 16.x
2323

24+
- name: Remove package-lock.json
25+
run: |
26+
rm package-lock.json
27+
2428
- name: Install Dependencies
2529
run: npm install
2630

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
- uses: actions/setup-node@v2
99
with:
1010
node-version: '16'
11+
- run: rm package-lock.json
1112
- run: npm install
1213
- run: npm run build
1314
- run: npm test

0 commit comments

Comments
 (0)