Skip to content

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

[v1] We are going inter-planetary!

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

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/checkout@v3.0.2
- uses: actions/setup-node@v3.4.1
name: Setup Node.js v${{ matrix.node }}
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v3.0.7
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/codecov-action@v3.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false