Skip to content

Commit

Permalink
Add GitHub Actions workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yookoala committed Jan 10, 2024
1 parent 421b0ae commit 72937c1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.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: Install NPM v5
run: if [[ `npm -v ` != 5* ]]; then npm i -g npm@5; fi
- name: Install Dependencies
run: npm install
- name: Test
run: grunt test

0 comments on commit 72937c1

Please sign in to comment.