Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jochem-brouwer committed Aug 14, 2024
1 parent c5134d6 commit d62eeeb
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/block-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,23 @@ jobs:
strategy:
matrix:
node-version: [18]
needs: build-monorepo
steps:
- name: 'Cache build'
- uses: 'actions/cache@v3'
- uses: actions/checkout@v4
with:
path: '.'
key: '${{ runner.os }}-node-18-${{ git rev-parse HEAD }}'
restore-keys: '${{ runner.os }}-node-18'
submodules: recursive

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci --omit=peer
working-directory: ${{github.workspace}}

- run: npm run lint
- run: npm run coverage
- uses: codecov/codecov-action@v3
with:
files: ${{ env.cwd }}/coverage/lcov.info
flags: block

0 comments on commit d62eeeb

Please sign in to comment.