fix: disable Save when vis not in unsaved/dirty state DHIS2-15373 v38 #5733
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: 'dhis2: store artifact (node)' | |
on: push | |
env: | |
GH_TOKEN: ${{secrets.DHIS2_BOT_GITHUB_TOKEN}} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
- uses: dhis2/deploy-build@master | |
with: | |
cwd: ./packages/app | |
build-dir: build/app | |
github-token: ${{ env.GH_TOKEN }} |