Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Feb 27, 2024
1 parent 8d3355d commit a5304c9
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/*]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
- name: Run Linting
run: npm run lint
- name: Inspect Lockfile
run: npm run lint:lockfile

# lint:
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# node-version: [lts/*]
#
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# - name: Install Dependencies
# run: npm ci
# - name: Run Linting
# run: npm run lint
# - name: Inspect Lockfile
# run: npm run lint:lockfile
#
# test_x86_x64:
# strategy:
# matrix:
Expand Down Expand Up @@ -127,12 +127,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- run: cat package.json
# Bewilderingly, `hashFiles('**/package.json')` is generating a different
# hash in each caching step of this job. So that thing can take a hike.
- run: echo -e "CACHE_KEY=$(md5 -q package.json)" >> "$GITHUB_ENV"
- name: Restore modules cache
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}/node_modules
key: linux-arm-node-${{ matrix.node }}-${{ hashFiles('**/package.json') }}
key: linux-arm-node-${{ matrix.node }}-${{ env.CACHE_KEY }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
Expand Down Expand Up @@ -171,4 +173,4 @@ jobs:
if: '!cancelled()'
with:
path: ${{ github.workspace }}/node_modules
key: linux-arm-node-${{ matrix.node }}-${{ hashFiles('**/package.json') }}
key: linux-arm-node-${{ matrix.node }}-${{ env.CACHE_KEY }}

0 comments on commit a5304c9

Please sign in to comment.