Skip to content

Merge branch 'master' of https://github.com/npenin/akala #2252

Merge branch 'master' of https://github.com/npenin/akala

Merge branch 'master' of https://github.com/npenin/akala #2252

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install yarn
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
- name: Install Packages
run: yarn install
- name: Compile ESM
run: yarn tsc -b packages/tsconfig.esm.json
- name: Compile CJS
run: yarn tsc -b packages/tsconfig.cjs.json