diff options
| author | Marin Ivanov <[email protected]> | 2026-01-19 02:41:01 +0200 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2026-01-19 02:41:01 +0200 |
| commit | a6bdee992a0e8850b922944a943cdbd907db5e66 (patch) | |
| tree | dd114f4e6f3fa7b21bf11541e128feef893743a5 /.github/workflows | |
| parent | 1fc5ce993a1769a3d0dd5fe2fdb51726f06f804c (diff) | |
| parent | b240473b5707857ba2c6a8e6d707c28d1e39da49 (diff) | |
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/compressed-size.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 25 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml new file mode 100644 index 0000000..45cad2f --- /dev/null +++ b/.github/workflows/compressed-size.yml @@ -0,0 +1,12 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: preactjs/compressed-size-action@v2 + with: + pattern: "./dist/*.{js,mjs,cjs}" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7b73b7d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + branches: + - "**" + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true |
