From 04e1d25bb39eae796f5faba08deca6dcf723ef88 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Fri, 22 Jan 2021 16:39:22 +0100 Subject: [PATCH] Migrate continuous integration from travis to github actions - add github-actions' build.yml - remove travis build - update README badge - link to "Lobid's gatsby starter" in the README See #433 --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ .travis.yml | 9 --------- README.textile | 4 +++- 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..8b784b64 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: + push +env: + NODE_VERSION: '14.15.3' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ env.NODE_VERSION }} + uses: actions/setup-node@v1 + with: + node-version: ${{ env.NODE_VERSION }} + - run: | + npm install -g gatsby + cd gatsby/lobid/ + npm ci + gatsby build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d6b9d230..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: node_js -node_js: - - "lts/*" -before_script: - - npm install -g gatsby -script: - - cd gatsby/lobid/ - - npm install - - gatsby build diff --git a/README.textile b/README.textile index f020fc61..2a28b1df 100644 --- a/README.textile +++ b/README.textile @@ -1,8 +1,10 @@ h1. Lobid +"!https://github.com/hbz/lobid/workflows/Build/badge.svg?branch=master!":https://github.com/hbz/lobid/actions?query=workflow%3ABuild + Linking Open Bibliographic Data. -This is only the repo of the landing page of https://lobid.org/ and some sub-sites created with _gatsby_. +This is only the repo of the landing page of https://lobid.org/ and some sub-sites created with _gatsby_ (see "Lobid's gatsby starter":https://github.com/hbz/lobid/tree/master/gatsby/lobid ). For the repos with the software implementations, see: