diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml new file mode 100644 index 0000000..22e2277 --- /dev/null +++ b/.github/workflows/semantic-release.yml @@ -0,0 +1,23 @@ +name: Semantic Release CI + +on: + push: + branches: + - master + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: | + npm install + npm run semantic-release --if-present + env: + CI: true + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + NPM_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/components/Navigator.js b/components/Navigator.js index 06784e0..964bbb2 100644 --- a/components/Navigator.js +++ b/components/Navigator.js @@ -15,6 +15,7 @@ export default { this.$listeners, {loaded: this.onFrameLoaded} ), + attrs: this.$attrs, }, [this.slotContent] ) diff --git a/package.json b/package.json index 69ab7d8..359f507 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "semantic-release": "semantic-release --dry-run" + "semantic-release": "semantic-release" }, "keywords": [ "nativescript",