Skip to content

Merge pull request #4 from NomicFoundation/transient-storage #10

Merge pull request #4 from NomicFoundation/transient-storage

Merge pull request #4 from NomicFoundation/transient-storage #10

Workflow file for this run

name: Ethash
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
env:
cwd: ${{github.workspace}}/packages/ethash
defaults:
run:
working-directory: packages/ethash
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-ethash:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
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: ethash
if: ${{ matrix.node-version == 16 }}