Skip to content

Instantly share code, notes, and snippets.

@syuji-higa
Last active November 16, 2019 04:04
Show Gist options
  • Save syuji-higa/22928a9b215e933b894749934e3aaaf0 to your computer and use it in GitHub Desktop.
Save syuji-higa/22928a9b215e933b894749934e3aaaf0 to your computer and use it in GitHub Desktop.
GitHub Actions - run Node.js
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.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:
run: |
node index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment