Skip to content

Commit 1516ece

Browse files
committed
chore: update
1 parent bef7917 commit 1516ece

File tree

4 files changed

+6053
-8949
lines changed

4 files changed

+6053
-8949
lines changed

.github/workflows/compressed-size-action.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15+
- uses: pnpm/action-setup@v2
16+
with:
17+
version: 8.2.0
1518
- uses: actions/setup-node@v3
1619
with:
17-
node-version: 18.x
18-
19-
- run: npm install
20-
21-
- run: npm ci
22-
20+
node-version: 18
21+
cache: 'pnpm'
22+
cache-dependency-path: '**/pnpm-lock.yaml'
2323
- uses: preactjs/compressed-size-action@v2
24-
with:
25-
# Any JS files anywhere within a dist directory:
26-
pattern: '**/dist/**/*.js'
27-
28-
# Always ignore SourceMaps and node_modules:
29-
exclude: '{**/*.map,**/node_modules/**}'

.github/workflows/main.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: CI
2-
on:
3-
push:
4-
branches:
5-
- master
62

7-
pull_request:
8-
branches:
9-
- master
3+
on: [pull_request]
104

115
concurrency:
126
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)