summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cs.yml27
1 files changed, 9 insertions, 18 deletions
diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml
index 0b24e63..8f2efdb 100644
--- a/.github/workflows/cs.yml
+++ b/.github/workflows/cs.yml
@@ -18,29 +18,20 @@ on:
jobs:
lint:
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-20.04
name: Code linting
- # The maximum number of minutes to let a workflow run
- # before GitHub automatically cancels it. Default: 360
- timeout-minutes: 30
-
- strategy:
- # When set to true, GitHub cancels
- # all in-progress jobs if any matrix job fails.
- fail-fast: false
-
- matrix:
- node:
- - '14.x'
- os:
- - ubuntu-20.04
-
steps:
- name: Checkout code
uses: actions/checkout@v3
- - name: Set up Node ${{ matrix.node }}
+ - name: Set up Node 14.x
uses: actions/setup-node@v3
with:
- node-version: ${{ matrix.node }}
+ node-version: '14.x'
+
+ - name: Install npm dependencies
+ run: npm ci
+
+ - name: Code linting
+ run: npm run lint