Skip to content

Merge pull request #19 from ManasJayanth/generate-recipe-brew #78

Merge pull request #19 from ManasJayanth/generate-recipe-brew

Merge pull request #19 from ManasJayanth/generate-recipe-brew #78

Workflow file for this run

name: Build and test
on:
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install npm dependencies
run: npm install
- name: Build the typescript sources
run: npm run build
- name: Run tests
run: npm run test
- name: Pack into tarball for npm release
run: npm pack
- uses: actions/upload-artifact@v3
with:
path: "*.tgz"
- name: Test on esy-packages/template
shell: bash
run: |
npm i -g esy
git clone https://github.com/esy-packages/template.git
cd template
export DEBUG=bale*
${GITHUB_WORKSPACE}/bale