Skip to content

[v1] We are going inter-planetary! #46

[v1] We are going inter-planetary!

[v1] We are going inter-planetary! #46

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
tags:
- '*'
paths-ignore:
- "**.md"
- "benchmark/**"
- ".github/workflows/benchmark.yml"
- ".github/workflows/docker-*.yml"
- ".github/*.yml"
pull_request:
branches:
- '*'
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node:
- 18.x
- 20.x
name: Node.js ${{ matrix.node }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
name: Setup Node.js v${{ matrix.node }}
with:
node-version: ${{ matrix.node }}
- uses: actions/[email protected]
name: Cache Node.js dependencies
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-node-
- name: Install dependencies
run: npm ci
- name: Perform build with Aegir
run: |
npm run npm:install
npm run build
- name: Execute tests
run: npm run test
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false