Skip to content

Commit

Permalink
Merge pull request dragonman225#6 from gricn/feature/update-github-ac…
Browse files Browse the repository at this point in the history
…tion-config-file

feat: update github action config file
  • Loading branch information
dragonman225 authored Nov 20, 2022
2 parents 2d8c626 + d31259c commit 4aa0718
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4aa0718

Please sign in to comment.