Remove unnecessary src and hsproject.json creation #3322
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
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build Failure Slack Report | |
if: ${{ github.ref == 'refs/heads/master' }} | |
uses: ravsamhq/notify-slack-action@master | |
with: | |
status: ${{ job.status }} | |
notify_when: 'failure' | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install deps | |
run: | | |
yarn install | |
- name: Bootstrap packages | |
run: | | |
yarn lerna bootstrap | |
- name: Force local package symlinks | |
run: | | |
yarn lerna link --force-local | |
- name: Verify package dependencies | |
run: | | |
yarn check-deps | |
- name: Lint | |
run: | | |
yarn lint | |
- name: Circular dependency check | |
run: | | |
yarn run madge --circular packages | |
- name: Test | |
run: | | |
yarn test | |
- name: Test-CLI | |
run: | | |
yarn test-cli | |
env: | |
PORTAL_ID: ${{ secrets.ACCEPTANCE_TEST_PORTAL_ID }} | |
CLI_PATH: ${{ secrets.ACCEPTANCE_TEST_CLI_PATH }} | |
PERSONAL_ACCESS_KEY: ${{ secrets.ACCEPTANCE_TEST_PERSONAL_ACCESS_KEY }} | |
CLIENT_ID: ${{ secrets.ACCEPTANCE_TEST_CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.ACCEPTANCE_TEST_CLIENT_SECRET }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |