From 918877809fa34f8721cdf10b0442cb784bf08d3b Mon Sep 17 00:00:00 2001 From: Alexandre Capt Date: Thu, 22 Feb 2024 09:18:01 +0100 Subject: [PATCH] chore: upgrade to latest build script --- .github/workflows/main.yaml | 14 ++++++++++++++ .github/workflows/run-tests.yaml | 17 ----------------- 2 files changed, 14 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/main.yaml delete mode 100644 .github/workflows/run-tests.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 00000000..39a04bf6 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,14 @@ +name: Build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run lint \ No newline at end of file diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml deleted file mode 100644 index 093278ea..00000000 --- a/.github/workflows/run-tests.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Linting - -on: [pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: '14' - - run: npm install - - run: npm run lint - env: - CI: true