diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..33d6f4b --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,15 @@ +name: Publish + +on: + release: + types: [published] + +jobs: + publish: + if: ${{ !github.event.release.draft }} + runs-on: ubuntu-latest + environment: release + steps: + - uses: DevExpress/testcafe-build-system/actions/publish-with-publish-please@main + with: + token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 589fa52..74bbdd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules .idea /lib +.builds/ \ No newline at end of file diff --git a/.publishrc b/.publishrc index 48d76cd..db446f9 100644 --- a/.publishrc +++ b/.publishrc @@ -4,7 +4,7 @@ "uncommittedChanges": true, "untrackedFiles": true, "sensitiveData": true, - "branch": "master", + "branch": false, "gitTag": true }, "confirm": true, diff --git a/package-lock.json b/package-lock.json index 1d112c1..5252c4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "testcafe-legacy-api", - "version": "5.1.6", + "version": "5.1.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "testcafe-legacy-api", - "version": "5.1.6", + "version": "5.1.7", "license": "MIT", "dependencies": { "async": "3.2.3", diff --git a/package.json b/package.json index 1c9cd56..bbb6ad0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "testcafe-legacy-api", - "version": "5.1.6", + "version": "5.1.7", "description": "Legacy API support for TestCafe", "main": "lib/index.js", "scripts": { diff --git a/src/tsconfig.json b/src/tsconfig.json index 590d3d1..07056d6 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "allowJs": true, "checkJs": false, - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "skipLibCheck": true } }