Skip to content

Commit

Permalink
Merge pull request #27 from odanado/fix-issues-19
Browse files Browse the repository at this point in the history
Migrate GitHub Action
  • Loading branch information
mmktomato authored Mar 22, 2021
2 parents c033613 + 9dbe697 commit 95655d4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches:
- "**"

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Run npm ci
run: npm ci
- name: Run test
run: npm run build && npm test

0 comments on commit 95655d4

Please sign in to comment.