Skip to content

fix: manual cherry-pick of #2753 #5679

fix: manual cherry-pick of #2753

fix: manual cherry-pick of #2753 #5679

Workflow file for this run

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 }}