Skip to content

Merge pull request #56 from cake-build/bug/gh-55-get-latest-version-f… #365

Merge pull request #56 from cake-build/bug/gh-55-get-latest-version-f…

Merge pull request #56 from cake-build/bug/gh-55-get-latest-version-f… #365

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- name: Get the sources
uses: actions/checkout@v1
- name: Install Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Restore the dependencies
run: npm install
- name: Build
run: npm run build
- name: Run the tests with code coverage
run: npm run test
- name: Upload the code coverage report to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}