Skip to content

Commit

Permalink
ci: run linting with ignore invalid cache env var (#2804)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 committed May 15, 2024
1 parent 66e9639 commit dea63fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Daffodil Build

env:
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0

on:
push:
branches:
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
node-version: ${{ matrix.node }}
use-stamp-cache: true

- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx lerna run build --concurrency=1
- run: npx lerna run build --concurrency=1

- run: cd dist/apps/daffio && zip -r ../daffio.zip .

Expand Down Expand Up @@ -113,7 +116,7 @@ jobs:
node-version: ${{ matrix.node }}
use-stamp-cache: true

- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx lerna run test --scope="${{ matrix.package }}" --concurrency=1
- run: npx lerna run test --scope="${{ matrix.package }}" --concurrency=1
name: Test ${{ matrix.package }}

deploy_daffio:
Expand Down Expand Up @@ -155,7 +158,7 @@ jobs:
use-stamp-cache: true
registry-url: 'https://registry.npmjs.org'

- run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx lerna run build
- run: npx lerna run build

- uses: graycoreio/github-actions/set-versions-from-root@main

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Daffodil Lint

env:
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0

on:
push:
paths:
Expand Down Expand Up @@ -56,4 +59,4 @@ jobs:
node-version: ${{ matrix.node }}
use-stamp-cache: true

- run: npx nx affected --target=lint
- run: npx nx affected --target=lint

0 comments on commit dea63fb

Please sign in to comment.