Skip to content

Commit 97f689b

Browse files
committed
ci: update to use pnpm
1 parent edb2c7c commit 97f689b

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

.github/workflows/bundlewatch-master.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
13-
- uses: Borales/actions-yarn@v2.1.0
14-
- run: yarn install
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '10.x'
16+
- run: pnpm run bootstrap
1517
- uses: jackyef/bundlewatch-gh-action@master
1618
with:
17-
build-script: yarn build:minify
19+
build-script: pnpm run build:minify
1820
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

.github/workflows/bundlewatch.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: Borales/actions-yarn@v2.1.0
13-
- run: yarn install
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: '10.x'
15+
- run: pnpm run bootstrap
1416
- uses: jackyef/bundlewatch-gh-action@master
1517
with:
16-
build-script: yarn build:minify
18+
build-script: pnpm run build:minify
1719
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

.github/workflows/coverage-master.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
13-
- uses: Borales/actions-yarn@v2.1.0
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '10.x'
1416
- name: 'Setup'
15-
run: yarn install
17+
run: pnpm run bootstrap
1618
- name: 'Run tests'
17-
run: yarn test:coverage
19+
run: pnpm run test:coverage
1820
- uses: codecov/codecov-action@v1
1921
with:
2022
token: ${{ secrets.CODECOV_TOKEN }} #required

.github/workflows/coverage.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: Borales/actions-yarn@v2.1.0
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: '10.x'
1315
- name: 'Setup'
14-
run: yarn install
16+
run: pnpm run bootstrap
1517
- name: 'Run tests'
16-
run: yarn test:coverage
18+
run: pnpm run test:coverage
1719
- uses: codecov/codecov-action@v1
1820
with:
1921
token: ${{ secrets.CODECOV_TOKEN }} #required

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"description": "Work in progress",
66
"engines": {
7-
"pnpm": ">=3.9.0"
7+
"pnpm": ">=4.9.0"
88
},
99
"scripts": {
1010
"bootstrap": "pnpm recursive install",

0 commit comments

Comments
 (0)