Merge pull request #165 from AUS-DOH-Safety-and-Quality/dependabot/np… #165
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: "Build release" | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
pre-release: | |
name: "Pre Release" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build | |
run: | | |
npm install | |
npm install -g powerbi-visuals-tools | |
pbiviz package | |
- name : "Create Release" | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "Development Build" | |
files: dist/*.pbiviz |