1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-11-22 01:37:07 +01:00

remove Travis, add CI GitHub Action

This commit is contained in:
Matthias Kretschmann 2021-02-01 00:41:30 +01:00
parent 05cdddeb60
commit 392436a4f7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 30 additions and 25 deletions

View File

@ -5,4 +5,3 @@ updates:
schedule: schedule:
interval: monthly interval: monthly
time: '04:00' time: '04:00'
open-pull-requests-limit: 10

29
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: 'CI'
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node: ['14']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
- run: npm run build

View File

@ -1,23 +0,0 @@
dist: xenial
sudo: required
language: node_js
node_js: node
cache:
npm: true
directories:
- .next/cache
before_install:
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# will run `npm install` automatically here
script:
- npm test
- npm run build
notifications:
email: false

View File

@ -3,7 +3,7 @@
> A public IPFS node & gateway. > A public IPFS node & gateway.
> [ipfs.kretschmann.io](https://ipfs.kretschmann.io) > [ipfs.kretschmann.io](https://ipfs.kretschmann.io)
[![Build Status](https://flat.badgen.net/travis/kremalicious/ipfs?icon=travis)](https://travis-ci.com/kremalicious/ipfs) [![Build Status](https://github.com/kremalicious/ipfs/workflows/CI%2FCD%20Pipeline/badge.svg)](https://github.com/kremalicious/ipfs/actions)
This repo holds a React app built with [Next.js](https://nextjs.org) serving as the frontpage of [ipfs.kretschmann.io](https://ipfs.kretschmann.io) from where you can add files to IPFS via drag and drop. This repo holds a React app built with [Next.js](https://nextjs.org) serving as the frontpage of [ipfs.kretschmann.io](https://ipfs.kretschmann.io) from where you can add files to IPFS via drag and drop.