Skip to content

Commit

Permalink
Merge pull request #67 from Aleksey28/master
Browse files Browse the repository at this point in the history
build: added publish workflow and  updated version
  • Loading branch information
miherlosev authored Aug 21, 2023
2 parents 5de48d2 + f46e6e0 commit 947a028
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.idea
/lib
.builds/
2 changes: 1 addition & 1 deletion .publishrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"uncommittedChanges": true,
"untrackedFiles": true,
"sensitiveData": true,
"branch": "master",
"branch": false,
"gitTag": true
},
"confirm": true,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"esModuleInterop": true,
"allowJs": true,
"checkJs": false,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
}
}

0 comments on commit 947a028

Please sign in to comment.