Skip to content

Instantly share code, notes, and snippets.

@h-enk
Last active November 24, 2021 00:32
Show Gist options
  • Save h-enk/f3bbca43d050e6d6b10bdb229dd7052f to your computer and use it in GitHub Desktop.
Save h-enk/f3bbca43d050e6d6b10bdb229dd7052f to your computer and use it in GitHub Desktop.
Continuous Integration workflow for your Hyas project
name: Hyas CI
on:
push:
branches: master
pull_request:
branches: master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [14.x, 15.x]
steps:
- name: Check out Hyas project
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Run Hyas test script
run: npm test
- name: Run Hyas build script
run: npm run build
@h-enk
Copy link
Author

h-enk commented Feb 18, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment