Last active
November 24, 2021 00:32
-
-
Save h-enk/f3bbca43d050e6d6b10bdb229dd7052f to your computer and use it in GitHub Desktop.
Continuous Integration workflow for your Hyas project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also: Continuous Integration workflow for your Hyas project