* fixed issue with slow data refresh on chart widgets #237
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
on: push | |
name: Build Angular | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
#persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Installing modules (npm i) | |
run: | | |
npm i | |
- name: Updating version for ZPM | |
run: | | |
node ./.github/sync-zpm-version | |
- name: Building DSW and addons | |
run: | | |
npm run build:addons | |
npm run build | |
- name: Deploying dist to master | |
run: | | |
git config --local user.email "action@github.com" | |
git config --local user.name "GitHub Action" | |
git add ./dist/* | |
git add ./module.xml | |
git commit -am "Automated commit of dist" | |
git push |