ci: babel and other updates

This commit is contained in:
Ron de las Alas 2023-10-17 10:19:45 -04:00
parent 1ad519fcc9
commit da31c474ae
3 changed files with 7182 additions and 4568 deletions

View file

@ -3,8 +3,7 @@ name: Scratch Paint CI-CD
on:
pull_request: # Runs whenever a pull request is created or updated
push: # Runs whenever a commit is pushed to the repository...
branches: [master, develop, beta, hotfix/*] # ...on any of these branches
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
# branches: [master, develop, beta, hotfix/*] # ...on any of these branches
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
@ -39,7 +38,7 @@ jobs:
EOF
- name: Install NPM Dependencies
run: |
npm ci
npm install
mkdir -p ./test/results
- name: Lint and Test
run: npm run test

11734
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,7 +23,7 @@
"url": "https://github.com/LLK/scratch-paint.git"
},
"dependencies": {
"@scratch/paper": "0.11.20200728195508",
"@scratch/paper": "0.11.20221201200345",
"classnames": "2.2.5",
"keymirror": "0.1.1",
"lodash.bindall": "4.4.0",
@ -55,10 +55,11 @@
"@commitlint/config-conventional": "17.0.3",
"autoprefixer": "9.7.4",
"babel-eslint": "10.1.0",
"babel-jest": "23.6.0",
"babel-jest": "29.7.0",
"babel-loader": "8.2.5",
"babel-plugin-react-intl": "3.0.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"canvas": "^2.11.2",
"css-loader": "3.4.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
@ -69,8 +70,7 @@
"gh-pages": "3.2.3",
"html-webpack-plugin": "3.2.0",
"husky": "8.0.1",
"jest": "22.4.4",
"jest-canvas-mock": "2.3.1",
"jest": "^27.0.5",
"jest-junit": "13.0.0",
"json": "9.0.6",
"lodash.defaultsdeep": "4.6.1",
@ -115,8 +115,7 @@
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/helpers/enzyme-setup.js",
"jest-canvas-mock"
"<rootDir>/test/helpers/enzyme-setup.js"
],
"testURL": "http://localhost",
"moduleNameMapper": {