From d31259c0de8ac873abf7cd2de27baa15bf831e52 Mon Sep 17 00:00:00 2001 From: gricn Date: Wed, 16 Feb 2022 23:02:06 +0800 Subject: [PATCH] feat: update github action config file --- .github/workflows/nodejs.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b77594d2..24be33db 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,25 +1,19 @@ name: Node.js Reference Test -on: [push] +on: + push: jobs: build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [15, 16] - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Generate the test blog - run: | - npm i -g notablog - notablog generate . - env: - CI: true + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "16" + - name: Generate the test blog + run: | + npm i -g notablog + notablog generate . + env: + CI: true