From a01058b916816da9b4d1b50d6f5ffdd6583f5d2c Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 16 Sep 2023 12:30:48 +0200 Subject: [PATCH] chore: update build workflow --- .github/workflows/{ci.yml => build.yml} | 13 ++++++------- README.md | 3 +-- 2 files changed, 7 insertions(+), 9 deletions(-) rename .github/workflows/{ci.yml => build.yml} (54%) diff --git a/.github/workflows/ci.yml b/.github/workflows/build.yml similarity index 54% rename from .github/workflows/ci.yml rename to .github/workflows/build.yml index 2591b1c..e6d4f9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: CI +name: build on: - push @@ -10,15 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: '14' + node-version: '16' + cache: 'yarn' - - id: build - name: Build + - name: Build run: | yarn install yarn run lint diff --git a/README.md b/README.md index 7ff2560..b2d8a63 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # robots-supervisor -[![Build Status](https://img.shields.io/github/workflow/status/ARIG-Robotique/robots-supervisor/CI?logo=github)](https://github.com/ARIG-Robotique/robots-supervisor/actions) -[![Docker Status](https://img.shields.io/docker/build/arig/robots-supervisor?logo=docker)](https://hub.docker.com/r/arig/robots-supervisor/) +[![Build Status](https://img.shields.io/github/actions/workflow/status/ARIG-Robotique/robots-supervisor/build.yml?branch=dev&logo=github)](https://github.com/ARIG-Robotique/robots-supervisor/actions/workflows/build.yml) Monitoring et réglage des robots.