Skip to content

Commit

Permalink
upgrade dependencies, migrate to vitest (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
voliva committed Jul 29, 2023
1 parent fb57cdb commit 39f9a74
Show file tree
Hide file tree
Showing 31 changed files with 6,823 additions and 10,252 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
name: CI

on:
pull_request:
branches: [main]
push:
branches: [main]
pull_request:
branches: [main]
push:
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16'
- run: npm ci
- run: npm run lint
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "16"
- run: npm ci
- run: npm run lint

- name: Build & Bundlewatch
uses: jackyef/bundlewatch-gh-action@master
env:
CI_BRANCH_BASE: main
with:
build-script: npm run build
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
- name: Build & Bundlewatch
uses: jackyef/bundlewatch-gh-action@master
env:
CI_BRANCH_BASE: main
with:
build-script: npm run build
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}

- name: Tests
run: npm test
- name: Tests
run: npm test

- name: Code Coverage
uses: codecov/codecov-action@v1
with:
files: ./packages/core/coverage/lcov.info,./packages/utils/coverage/lcov.info,./packages/dom/coverage/lcov.info
fail_ci_if_error: true
- name: Code Coverage
uses: codecov/codecov-action@v3
with:
files: ./packages/core/coverage/lcov.info,./packages/utils/coverage/lcov.info,./packages/dom/coverage/lcov.info
fail_ci_if_error: true

0 comments on commit 39f9a74

Please sign in to comment.