Skip to content

Commit

Permalink
Forces bash on GitHub Actions (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Oct 28, 2019
1 parent ac26902 commit 279c3f4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/integration-workflow.yml
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: 'Check that the Yarn files don''t change on new installs (fix w/ "yarn install")'
run: |
node ./scripts/run-yarn.js --immutable --immutable-cache
shell: bash
env:
YARN_ENABLE_NETWORK: 0

Expand All @@ -29,6 +30,7 @@ jobs:
if [[ $(git diff --name-only "$(git merge-base origin/"$TARGET_BRANCH" HEAD)" HEAD -- .yarn/{cache,virtual} | wc -l) -gt 0 ]]; then
node ./scripts/run-yarn.js --immutable --immutable-cache --check-cache
fi
shell: bash
if: |
github.event.pull_request != ''
env:
Expand All @@ -37,16 +39,19 @@ jobs:
- name: 'Check that the PR describes which packages should be bumped (fix w/ "yarn version check -i")'
run: |
node ./scripts/run-yarn.js version check
shell: bash
if: |
github.event.pull_request != ''
- name: 'Check for linting errors (fix w/ "yarn test:lint --fix")'
run: |
node ./scripts/run-yarn.js test:lint
shell: bash

- name: 'Check for unmet constraints (fix w/ "yarn constraints --fix")'
run: |
node ./scripts/run-yarn.js constraints
shell: bash

acceptance:
strategy:
Expand Down Expand Up @@ -77,19 +82,21 @@ jobs:

- name: 'Build the standard bundle & plugins'
run: |
set -e
node --version
node ./scripts/run-yarn.js build:cli
node ./scripts/run-yarn.js build:plugin-exec
node ./scripts/run-yarn.js build:plugin-stage
node ./scripts/run-yarn.js build:plugin-typescript
node ./scripts/run-yarn.js build:plugin-version
node ./scripts/run-yarn.js build:plugin-workspace-tools
shell: bash

- name: 'Run the integration tests'
run: |
node ./scripts/run-yarn.js test:integration --runInBand
shell: bash

- name: 'Run the unit tests'
run: |
node ./scripts/run-yarn.js test:unit
shell: bash

0 comments on commit 279c3f4

Please sign in to comment.