We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1de94 commit 178b17bCopy full SHA for 178b17b
.github/workflows/package-size-report.yml
@@ -0,0 +1,30 @@
1
+name: Package Size Report
2
+
3
+on:
4
+ pull_request:
5
+ branches: [main]
6
7
+jobs:
8
+ pkg-size-report:
9
+ name: Package Size Report
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: navikt/github-app-token-generator@793caf0d755fb4d6e88150825f680f188535cb48
14
+ id: get-token
15
+ with:
16
+ private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
17
+ app-id: ${{ secrets.TOKENS_APP_ID }}
18
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Setup Node.js
23
+ uses: actions/setup-node@v2
24
25
+ node-version: 'lts'
26
27
+ - name: Package size report
28
+ uses: pkg-size/[email protected]
29
+ env:
30
+ GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
0 commit comments