Skip to content

Commit 02a219f

Browse files
committed
removed caching step and added package-lock.json file
1 parent ece7bbb commit 02a219f

4 files changed

Lines changed: 5157 additions & 7273 deletions

File tree

.github/workflows/publish_module.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,10 @@ jobs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: '22.15.0'
19-
cache: 'npm'
2019

21-
- name: Restore node_modules cache
22-
id: cache
23-
uses: actions/cache@v4
24-
with:
25-
path: node_modules
26-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node-modules-
29-
3020
- name: Install dependencies
3121
run: npm ci --legacy-peer-deps
3222

33-
- name: Save node_modules cache
34-
if: steps.cache.outputs.cache-hit != 'true'
35-
uses: actions/cache@v4
36-
with:
37-
path: node_modules
38-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
39-
4023
- name: Build and publish package
4124
env:
4225
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish_web_component.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,9 @@ jobs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: '22.15.0'
19-
cache: 'npm'
20-
21-
- name: Restore node_modules cache
22-
id: cache
23-
uses: actions/cache@v4
24-
with:
25-
path: node_modules
26-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node-modules-
29-
19+
3020
- name: Install dependencies
3121
run: npm ci --legacy-peer-deps
32-
33-
- name: Save node_modules cache
34-
if: steps.cache.outputs.cache-hit != 'true'
35-
uses: actions/cache@v4
36-
with:
37-
path: node_modules
38-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
3922

4023
- name: Build and publish package
4124
env:

0 commit comments

Comments
 (0)