diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 49e5dbb4..f093a799 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -3,8 +3,7 @@ name: Weekly Release Build on: push: branches: [API-37625-gh-release-build] - schedule: - - cron: '0 22 * * 1' + workflow_dispatch: jobs: install: @@ -25,9 +24,29 @@ jobs: echo $NODE_VERSION echo "node_version=$NODE_VERSION" >> $GITHUB_OUTPUT - - name: Install Dependencies + - name: Install dependencies run: npm ci + release_builds: + needs: [install] + runs-on: ubuntu-latest + strategy: + matrix: + environment: ['dev', 'staging'] + + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: 16 + + - name: Install dependencies + run: npm ci + + - name: Print env + run: printenv + - name: Run Build env: NODE_ENV: production