diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index f61adf0..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: 'Build' - -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - build: - name: Test build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Build - run: | - npm install - npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index ce76682..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Release - -on: - release: - types: [published] - -jobs: - release: - name: Prepare release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - # Build - - name: Build the file - run: | - cd /home/runner/work/boilerplate-card/boilerplate-card - npm install - npm run build - - # Upload build file to the releas as an asset. - - name: Upload zip to release - uses: svenstaro/upload-release-action@v1-release - - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: /home/runner/work/boilerplate-card/boilerplate-card/dist/boilerplate-card.js - asset_name: boilerplate-card.js - tag: ${{ github.ref }} - overwrite: true \ No newline at end of file diff --git a/package.json b/package.json index 45ac0b3..27b677e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "lovelace", "custom-cards" ], + "files": [ + "dist" + ], "module": "grid-view.js", "author": "Zack Barett ", "license": "MIT",