Archived
1
0

fixup!: use apk for lint scripts

This commit is contained in:
Joe Previte
2022-09-22 10:26:37 -07:00
parent 5a6d4862fb
commit 33163e84c8
3 changed files with 5 additions and 114 deletions

View File

@ -51,6 +51,7 @@ jobs:
- name: Run script unit tests
run: ./ci/dev/test-scripts.sh
lint:
name: Lint shell files
runs-on: ubuntu-latest
@ -59,23 +60,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Node.js v16
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Fetch dependencies from cache
id: cache-node-modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: yarn-build-${{ hashFiles('**yarn.lock') }}
restore-keys: |
yarn-build-
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
- name: Install lint utilities
run: apk add shellcheck
- name: Lint shell files
run: yarn lint:sh
run: ./ci/dev/lint-scripts.sh