Types wrong #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mskg/homey-heating | |
on: | |
push: | |
tags: | |
- '*' | |
# env: | |
# GITHUB_OAUTH_TOKEN: "${{ secrets.GITHUB_OAUTH_TOKEN }}" | |
# SENTRY_ORG: "${{ secrets.SENTRY_ORG }}" | |
# SENTRY_PROJECT: "${{ secrets.SENTRY_PROJECT }}" | |
# SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- uses: actions/[email protected] | |
with: | |
cache: npm | |
node-version: 16 | |
- run: npm install | |
- run: if [ $GITHUB_REF_NAME != '' ]; then npm run build:setversion $GITHUB_REF_NAME; fi | |
- run: npm run test | |
- run: npm run dist | |
# - run: npm run travis:sentry -- releases files homey-heating@${TRAVIS_TAG:1} upload-sourcemaps ../homey-heating-dist --rewrite --ignore-file scripts/.sentryignore | |
# if: "${{ github.event_name == 'push' && ${{ github.ref }} }}" | |
- name: deploy branch | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: /tmp/homey-heating | |
publish_branch: release/${{ github.ref_name }} | |
keep_files: false | |
# - run: npm run travis:sentry -- releases set-commits homey-heating@${TRAVIS_TAG:1} --auto | |
# if: "${{ github.event_name == 'push' && ${{ github.ref }} }}" |