Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 9 additions & 11 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,17 @@ jobs:
steps:
- uses: actions/checkout@master

- name: "Use Node.js 10.x"
- name: "Use Node.js 12.x"
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: "12.x"

- name: 'Check that the Yarn files don''t change on new installs (fix w/ "yarn install")'
- name: "Check that the Yarn files don't change on new installs (fix w/ `yarn install`)"
run: |
yarn --immutable --immutable-cache
env:
YARN_ENABLE_NETWORK: 0

- name: "Check that the cache files are consistent with their remote sources"
run: |
if [[ $(git diff --name-only "$(git merge-base origin/"$TARGET_BRANCH" HEAD)" HEAD -- .yarn/{cache,virtual} | wc -l) -gt 0 ]]; then
yarn --immutable --immutable-cache --check-cache
fi
run: yarn --immutable --immutable-cache --check-cache
if: |
github.event.pull_request != ''
env:
Expand All @@ -41,7 +36,7 @@ jobs:
github.event.pull_request != ''
- name: "Check that the code is formatted"
run: |
yarn format:files --chec
yarn format:files --check

acceptance:
strategy:
Expand All @@ -64,7 +59,10 @@ jobs:
- name: "Use Node.js ${{matrix.node}}.x"
uses: actions/setup-node@master
with:
version: ${{matrix.node}}.x
node-version: ${{matrix.node}}.x

- name: "Install dependencies"
run: yarn

- name: "Build the plugin"
run: |
Expand Down
Loading