Skip to content

Commit

Permalink
Merge pull request #839 from compucorp/COMCL-168-fix-linters-workflow
Browse files Browse the repository at this point in the history
COMCL-168: Fix linters workflow
  • Loading branch information
ahed-compucorp committed Jan 14, 2022
2 parents f74b7ef + 0e91fc2 commit 7aec306
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set Correct NodeJS version
shell: bash -l {0}
run: |
nvm install
nvm use
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Run npm install
run: npm i
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run : amp config:set --mysql_dsn=mysql://root:root@mysql:3306

- name: Build Drupal site
run: civibuild create drupal-clean --civi-ver 5.35 --cms-ver 7.74 --web-root $GITHUB_WORKSPACE/site
run: civibuild create drupal-clean --civi-ver 5.39.1 --cms-ver 7.85 --web-root $GITHUB_WORKSPACE/site

- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 7aec306

Please sign in to comment.