diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40d2baa..f40e614 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,14 @@ jobs: name: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 8 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: 'pnpm' diff --git a/package.json b/package.json index 11a5537..5c4af22 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "test": "run-s test:*", "test:lint": "eslint . --ext .ts", "test:prettier": "prettier \"{lib,test}/**/*.ts\" --list-different", + "test:cov": "jest --ci --coverage && codecov", "test:unit": "jest" }, "engines": {