Skip to content

Commit

Permalink
Merge pull request #1462 from ymmooot/fix-ci-testing
Browse files Browse the repository at this point in the history
update testing tools
  • Loading branch information
ymmooot authored Nov 28, 2024
2 parents 64e0c15 + f9a4166 commit d63c17c
Show file tree
Hide file tree
Showing 4 changed files with 5,205 additions and 5,839 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -30,14 +30,14 @@ jobs:
- run: yarn
- run: yarn lint
- run: yarn workspace nuxt-jsonld test:ci
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cypress-io/github-action@v2
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v6
with:
build: yarn workspace example build
start: yarn workspace example start
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"cy:ci": "cypress run --config-file ./cypress/cypress.config.ts --record --key 8f568853-b927-4858-9e2a-6af417990ad7"
},
"devDependencies": {
"cypress": "^13.7.3",
"cypress": "^13.16.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.3.2"
},
"volta": {
"node": "18.13.0",
"node": "18.18.0",
"yarn": "1.22.22"
}
}
7 changes: 3 additions & 4 deletions packages/nuxt-jsonld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"build": "nuxi prepare && tsup",
"test": "vitest",
"test:ci": "vitest run --coverage && codecov",
"test:ci": "vitest run --coverage",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger"
},
Expand All @@ -34,14 +34,13 @@
"devDependencies": {
"@babel/preset-env": "^7.24.7",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@vitest/coverage-istanbul": "^0.34.6",
"codecov": "^3.8.3",
"@vitest/coverage-istanbul": "^2.1.6",
"nuxt": "^3.11.2",
"prettier": "^3.3.2",
"shipjs": "0.26.3",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"vitest": "^0.34.6"
"vitest": "^2.1.6"
},
"keywords": [
"attribute",
Expand Down
Loading

0 comments on commit d63c17c

Please sign in to comment.