Skip to content

Commit

Permalink
Merge pull request #39 from ysfaran/hotfix/vulnarabilites
Browse files Browse the repository at this point in the history
Hotfix/vulnarabilites
  • Loading branch information
ysfaran authored Jan 24, 2023
2 parents 1c33953 + 28d43c6 commit f300b81
Show file tree
Hide file tree
Showing 7 changed files with 4,894 additions and 3,367 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
Build_Test_Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18"
- run: npm install
- run: npm run build:package
- run: npm run test:package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
Build_Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18"
- run: npm install
- run: npm run build:package
- run: npm run test:package
Expand Down
13 changes: 0 additions & 13 deletions jest.config.js

This file was deleted.

20 changes: 20 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { JestConfigWithTsJest } from "ts-jest";

export const config: JestConfigWithTsJest = {
preset: "ts-jest",
testEnvironment: "jsdom",
collectCoverageFrom: ["src/**/*.+(ts|tsx)", "!src/index.ts"],
setupFilesAfterEnv: ["<rootDir>/test/setupTests.ts"],
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
tsconfig: {
noUnusedLocals: false,
},
},
],
},
} as JestConfigWithTsJest;

export default config;
Loading

0 comments on commit f300b81

Please sign in to comment.