Skip to content

fix: use Github variable for Cypress test instance #5647

fix: use Github variable for Cypress test instance

fix: use Github variable for Cypress test instance #5647

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: 14.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 }}