mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
24 lines
488 B
YAML
24 lines
488 B
YAML
name: ci
|
|
|
|
concurrency:
|
|
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
compile_and_run_tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Compile code and run test coverage
|
|
run: npm run coverage
|