diff options
author | dartcafe <github@dartcafe.de> | 2021-10-01 00:06:10 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-10-01 00:06:10 +0300 |
commit | 555f3928008363a9cd3d4694e68fdd41854c6969 (patch) | |
tree | 1adc26af6c9a7256a2f07621cedeafde7b96d592 /.github | |
parent | 4da0f5f96747bcf50448bc340fbba8b867f11b78 (diff) |
update workflow
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nodejs.yml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 62a0aa54..ad2bc60e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,25 +1,25 @@ -name: Node CI - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x, 14.x] - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: install dependencies - run: | - npm ci - - name: build - run: | - npm run build --if-present +name: Node CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [14.x, 16.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: install dependencies
+ run: |
+ npm ci
+ - name: build
+ run: |
+ npm run build --if-present
|