Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nrutman committed Jan 19, 2024
1 parent 87565d7 commit 14c341e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ jobs:
lint-and-typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Cache node_modules/.cache directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/.cache
key: node-modules-dot-cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ github.run_id }}
restore-keys: |
node-modules-dot-cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-
- name: Setup auth for private GH packages
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PACKAGES_RO_BOT_TOKEN }}" > ~/.npmrc
- run: npm ci --prefer-offline --no-audit
- run: npm run prettier
- run: npx tsc --noEmit
Expand Down

0 comments on commit 14c341e

Please sign in to comment.