Fix CI & Add size-limit action

This commit is contained in:
7PH
2022-08-01 00:26:16 +02:00
committed by PowerHat
parent d823713ea9
commit c3c1890b97
4 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
+15
View File
@@ -0,0 +1,15 @@
name: "size"
on:
pull_request:
branches:
- master
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
+2 -3
View File
@@ -28,6 +28,7 @@
"rollup-plugin-esbuild": "^4.9.1",
"size-limit": "^8.0.0",
"tailwindcss": "^3.1.6",
"typescript": "^4.7.4",
"vite": "^3.0.0",
"vue": "^3.2.37",
"vue-router": "^4.1.2"
@@ -2937,7 +2938,6 @@
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
"dev": true,
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -5099,8 +5099,7 @@
"version": "4.7.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
"dev": true,
"peer": true
"dev": true
},
"update-browserslist-db": {
"version": "1.0.5",
+1
View File
@@ -39,6 +39,7 @@
"rollup-plugin-esbuild": "^4.9.1",
"size-limit": "^8.0.0",
"tailwindcss": "^3.1.6",
"typescript": "^4.7.4",
"vite": "^3.0.0",
"vue": "^3.2.37",
"vue-router": "^4.1.2"