diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 3b2a9a9..9669fb3 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -6,6 +6,10 @@ on:
- master
pull_request:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
test-and-build:
name: 'Test & build'
diff --git a/README.md b/README.md
index 050df96..2120955 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
- Encrypting and decrypting strings with aes-256-gcm
.
+ Encrypting and decrypting strings with aes-256-gcm
diff --git a/jest.config.js b/jest.config.js
index 922a6be..a1b5af5 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,5 +1,7 @@
module.exports = {
- transform: { '^.+\\.tsx?$': '@swc/jest' },
+ transform: {
+ '^.+\\.tsx?$': ['@swc/jest', { jsc: { transform: { react: { runtime: 'automatic' } } } }],
+ },
coverageProvider: 'v8',
testEnvironment: 'node',
modulePathIgnorePatterns: ['/dist'],
diff --git a/tsconfig.json b/tsconfig.json
index 1c2d9c7..4a0cf06 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,7 +3,7 @@
// Output Options
"target": "es2022",
"module": "commonjs",
- "jsx": "react",
+ "jsx": "react-jsx",
"noEmitOnError": true,
"newLine": "lf",
"outDir": "dist/",