Skip to content

Commit

Permalink
fix: update deps and workflow with build step (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Apr 19, 2023
1 parent 7e4188e commit 9b457a2
Show file tree
Hide file tree
Showing 4 changed files with 512 additions and 393 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/coverage.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: tests and coverage
name: Build and Test
on: [push]
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install packages
run: yarn
run: yarn

- name: build
run: yarn build

- name: jest test
run: yarn test

4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@types/react-dom": "link:../node_modules/@types/react-dom",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-query": "3.34.16",
"react-query": "3.39.3",
"react-scripts": "5.0.0",
"typescript": "4.9.5"
"typescript": "5.0.4"
},
"devDependencies": {
"@babel/plugin-syntax-object-rest-spread": "7.8.3"
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@
"Alexandre Chau"
],
"dependencies": {
"@graasp/sdk": "0.10.0",
"@graasp/translations": "1.8.0",
"@graasp/sdk": "0.10.1",
"@graasp/translations": "1.11.0",
"axios": "0.27.2",
"crypto-js": "4.1.1",
"http-status-codes": "2.2.0",
"immutable": "4.2.4",
"qs": "6.11.0",
"immutable": "4.3.0",
"qs": "6.11.1",
"react-query": "3.39.3",
"uuid": "9.0.0"
},
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/preset-env": "7.17.10",
"@babel/preset-typescript": "7.16.7",
"@commitlint/cli": "16.2.4",
"@commitlint/config-conventional": "16.2.4",
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.4",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "14.1.1",
"@trivago/prettier-plugin-sort-imports": "3.2.0",
"@trivago/prettier-plugin-sort-imports": "4.1.1",
"@types/crypto-js": "4.1.1",
"@types/jest": "28.1.0",
"@types/js-cookie": "3.0.2",
Expand All @@ -49,14 +49,14 @@
"@types/react": "17.0.44",
"@types/react-dom": "17.0.16",
"@types/uuid": "9.0.0",
"@typescript-eslint/eslint-plugin": "5.54.1",
"@typescript-eslint/parser": "5.54.1",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"babel-jest": "27.5.1",
"env-cmd": "10.1.0",
"eslint": "8.33.0",
"eslint": "8.38.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-config-prettier": "8.8.0",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
Expand All @@ -69,12 +69,12 @@
"microbundle-crl": "0.13.11",
"mock-socket": "9.1.5",
"nock": "13.3.0",
"prettier": "2.8.4",
"prettier": "2.8.7",
"react-test-renderer": "17.0.2",
"standard-version": "9.5.0",
"ts-jest": "28.0.4",
"ts-node": "10.8.0",
"typescript": "4.9.5",
"typescript": "5.0.4",
"wait-on": "7.0.1"
},
"peerDependencies": {
Expand Down Expand Up @@ -130,5 +130,5 @@
"postcss": "7.0.36",
"nth-check": "2.0.1"
},
"packageManager": "yarn@3.4.1"
"packageManager": "yarn@3.5.0"
}
Loading

0 comments on commit 9b457a2

Please sign in to comment.