fix: use Github variable for Cypress test instance #5647
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: 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 }} |