feat: new Earth Engine format and functions #221
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 Build and Release' | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
process: | |
name: Release | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Test | |
run: yarn test | |
- name: Build | |
run: yarn build | |
- name: Publish | |
run: npx @dhis2/cli-utils release --publish npm | |
env: | |
GIT_AUTHOR_NAME: '@dhis2-bot' | |
GIT_AUTHOR_EMAIL: '[email protected]' | |
GIT_COMMITTER_NAME: '@dhis2-bot' | |
GIT_COMMITTER_EMAIL: '[email protected]' | |
NPM_TOKEN: ${{secrets.DHIS2_BOT_NPM_TOKEN}} | |
GH_TOKEN: ${{secrets.DHIS2_BOT_GITHUB_TOKEN}} | |
env: | |
CI: true |