Skip to content

Commit

Permalink
chore: updates (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuignoto authored Jun 11, 2023
1 parent 5f42281 commit 4df63e7
Show file tree
Hide file tree
Showing 6 changed files with 1,096 additions and 997 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,26 @@ jobs:
steps:
- name: Checkout code
uses: actions/[email protected]

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Set up pnpm
uses: pnpm/[email protected]
with:
version: latest

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test

- name: Upload coverage report
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_SECRET }}
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,28 @@ jobs:
with:
version: 8.1.0

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Cache Cypress binary cache
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-binary
restore-keys: |
${{ runner.os }}-cypress-
- name: Chrome
uses: cypress-io/[email protected]
with:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:

- uses: actions/checkout@v2

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand All @@ -29,6 +37,14 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Cache build artifacts
uses: actions/cache@v3
with:
path: dist
key: ${{ runner.os }}-build-${{ matrix.node-version }}
restore-keys: |
${{ runner.os }}-build-
- name: Build
run: pnpm rollup

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Snyk Security Scan

on:
push:
branches:
Expand All @@ -13,12 +14,31 @@ jobs:
name: Snyk Security Scan
steps:
- uses: actions/[email protected]

- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: latest

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm install

- name: Cache Snyk cache folder
uses: actions/cache@v3
with:
path: ~/.cache/snyk
key: ${{ runner.os }}-snyk-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-snyk-
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/core": "^7.22.5",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.22.4",
"@babel/plugin-transform-typescript": "^7.22.3",
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "^7.21.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/plugin-transform-typescript": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@emotion/babel-plugin": "^11.11.0",
"@jest/types": "^29.5.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-buble": "^1.0.2",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-commonjs": "^25.0.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-strip": "^3.0.2",
"@stylelint/postcss-css-in-js": "^0.38.0",
Expand All @@ -71,22 +71,22 @@
"@testing-library/user-event": "^14.4.3",
"@types/classnames": "^2.3.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.2.5",
"@types/react": "^18.2.8",
"@types/node": "^20.3.0",
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.6",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/coverage-c8": "^0.32.0",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.1.2",
"babel-plugin-styled-components": "^2.1.3",
"c8": "^7.14.0",
"cssnano": "^6.0.1",
"cypress": "12.13.0",
"cypress": "12.14.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
Expand All @@ -107,30 +107,30 @@
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-live-runner": "^1.0.5",
"react-router-dom": "^6.11.2",
"react-router-dom": "^6.12.1",
"react-runner": "^1.0.3",
"rimraf": "^5.0.1",
"rollup": "^3.23.0",
"rollup": "^3.24.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.62.1",
"snyk": "^1.1173.0",
"sass": "^1.63.3",
"snyk": "^1.1177.0",
"start-server-and-test": "^2.0.0",
"stylelint": "^15.6.3",
"stylelint": "^15.7.0",
"stylelint-config-recommended": "^12.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^6.0.3",
"stylelint-processor-styled-components": "^1.10.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vitest": "^0.31.4",
"webpack": "^5.85.0"
"vitest": "^0.32.0",
"webpack": "^5.86.0"
},
"resolutions": {
"ansi-regex": "5.0.1",
Expand Down
Loading

1 comment on commit 4df63e7

@vercel
Copy link

@vercel vercel bot commented on 4df63e7 Jun 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.