Skip to content

Commit 5018212

Browse files
author
issayah
committed
ci: change ci to try to get it to work
1 parent 3f0d741 commit 5018212

File tree

5 files changed

+2
-186
lines changed

5 files changed

+2
-186
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,13 @@ jobs:
3333
id: pnpm-install
3434
with:
3535
version: 7
36-
run_install: false
37-
38-
- name: Get pnpm store directory
39-
id: pnpm-cache
40-
shell: bash
41-
run: |
42-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
43-
44-
- name: Setup pnpm cache
45-
uses: actions/cache@v3
46-
with:
47-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
48-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
49-
restore-keys: |
50-
${{ runner.os }}-pnpm-store-
5136

5237
- name: Install dependencies
5338
run: pnpm install --ignore-scripts --frozen-lockfile
5439

5540
- name: Build library
5641
run: pnpm run build
42+
5743
test-lint:
5844
runs-on: ${{ matrix.os }}
5945

@@ -76,70 +62,12 @@ jobs:
7662
id: pnpm-install
7763
with:
7864
version: 7
79-
run_install: false
80-
81-
- name: Get pnpm store directory
82-
id: pnpm-cache
83-
shell: bash
84-
run: |
85-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
86-
87-
- name: Setup pnpm cache
88-
uses: actions/cache@v3
89-
with:
90-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
91-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
92-
restore-keys: |
93-
${{ runner.os }}-pnpm-store-
9465

9566
- name: Install dependencies
9667
run: pnpm install --ignore-scripts --frozen-lockfile
9768

9869
- name: Test lint
9970
run: pnpm run test:lint
100-
test-unit:
101-
runs-on: ${{ matrix.os }}
102-
103-
strategy:
104-
matrix:
105-
os: [ubuntu-latest]
106-
node-version: [16.x]
107-
108-
steps:
109-
- name: Clone repository
110-
uses: actions/checkout@v3
111-
112-
- name: Install Node.js
113-
uses: actions/setup-node@v3
114-
with:
115-
node-version: 16
116-
117-
- name: Install pnpm
118-
uses: pnpm/[email protected]
119-
id: pnpm-install
120-
with:
121-
version: 7
122-
run_install: false
123-
124-
- name: Get pnpm store directory
125-
id: pnpm-cache
126-
shell: bash
127-
run: |
128-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
129-
130-
- name: Setup pnpm cache
131-
uses: actions/cache@v3
132-
with:
133-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
134-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
135-
restore-keys: |
136-
${{ runner.os }}-pnpm-store-
137-
138-
- name: Install dependencies
139-
run: pnpm install --ignore-scripts --frozen-lockfile
140-
141-
- name: Test unit
142-
run: pnpm run test:unit
14371

14472
test-coverage:
14573
runs-on: ${{ matrix.os }}
@@ -163,21 +91,6 @@ jobs:
16391
id: pnpm-install
16492
with:
16593
version: 7
166-
run_install: false
167-
168-
- name: Get pnpm store directory
169-
id: pnpm-cache
170-
shell: bash
171-
run: |
172-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
173-
174-
- name: Setup pnpm cache
175-
uses: actions/cache@v3
176-
with:
177-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
178-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
179-
restore-keys: |
180-
${{ runner.os }}-pnpm-store-
18194

18295
- name: Install dependencies
18396
run: pnpm install --ignore-scripts --frozen-lockfile

.github/workflows/docs-github-pages-deploy.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,6 @@ jobs:
3434
id: pnpm-install
3535
with:
3636
version: 7
37-
run_install: false
38-
39-
- name: Get pnpm store directory
40-
id: pnpm-cache
41-
shell: bash
42-
run: |
43-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
44-
45-
- name: Setup pnpm cache
46-
uses: actions/cache@v3
47-
with:
48-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
49-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
50-
restore-keys: |
51-
${{ runner.os }}-pnpm-store-
5237

5338
- name: Install dependencies
5439
run: pnpm install --ignore-scripts --frozen-lockfile

.github/workflows/npm-publish.yaml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,12 @@ jobs:
2424
uses: actions/setup-node@v3
2525
with:
2626
node-version: 16
27-
27+
2828
- name: Install pnpm
2929
uses: pnpm/[email protected]
3030
id: pnpm-install
3131
with:
3232
version: 7
33-
run_install: false
34-
35-
- name: Get pnpm store directory
36-
id: pnpm-cache
37-
shell: bash
38-
run: |
39-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
40-
41-
- name: Setup pnpm cache
42-
uses: actions/cache@v3
43-
with:
44-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
45-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46-
restore-keys: |
47-
${{ runner.os }}-pnpm-store-
48-
49-
- name: Install dependencies
50-
run: pnpm install --ignore-scripts --frozen-lockfile
51-
52-
- name: Build library
53-
run: pnpm run build
54-
55-
- name: Test library
56-
run: pnpm test
5733

5834
- name: Publish
5935
run: pnpm publish --tag latest --filter bootstrap-vue-3

.github/workflows/release-dev.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,6 @@ jobs:
4848
id: pnpm-install
4949
with:
5050
version: 7
51-
run_install: false
52-
if: ${{ steps.release.outputs.releases_created }}
53-
54-
- name: Get pnpm store directory
55-
id: pnpm-cache
56-
shell: bash
57-
run: |
58-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
59-
if: ${{ steps.release.outputs.releases_created }}
60-
61-
- name: Setup pnpm cache
62-
uses: actions/cache@v3
63-
with:
64-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
65-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
66-
restore-keys: |
67-
${{ runner.os }}-pnpm-store-
68-
if: ${{ steps.release.outputs.releases_created }}
69-
70-
- name: Install dependencies
71-
run: pnpm install --ignore-scripts --frozen-lockfile
72-
if: ${{ steps.release.outputs.releases_created }}
73-
74-
- name: Build library
75-
run: pnpm run build
76-
if: ${{ steps.release.outputs.releases_created }}
77-
78-
- name: Test library
79-
run: pnpm test
8051
if: ${{ steps.release.outputs.releases_created }}
8152

8253
- name: Publish

.github/workflows/release-main.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -48,35 +48,6 @@ jobs:
4848
id: pnpm-install
4949
with:
5050
version: 7
51-
run_install: false
52-
if: ${{ steps.release.outputs.releases_created }}
53-
54-
- name: Get pnpm store directory
55-
id: pnpm-cache
56-
shell: bash
57-
run: |
58-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
59-
if: ${{ steps.release.outputs.releases_created }}
60-
61-
- name: Setup pnpm cache
62-
uses: actions/cache@v3
63-
with:
64-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
65-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
66-
restore-keys: |
67-
${{ runner.os }}-pnpm-store-
68-
if: ${{ steps.release.outputs.releases_created }}
69-
70-
- name: Install dependencies
71-
run: pnpm install --ignore-scripts --frozen-lockfile
72-
if: ${{ steps.release.outputs.releases_created }}
73-
74-
- name: Build library
75-
run: pnpm run build
76-
if: ${{ steps.release.outputs.releases_created }}
77-
78-
- name: Test library
79-
run: pnpm test
8051
if: ${{ steps.release.outputs.releases_created }}
8152

8253
- name: Publish

0 commit comments

Comments
 (0)