Skip to content

test new docker

test new docker #30

Workflow file for this run

# This workflow build Heta platform on different platforms
name: Build
defaults:
run:
shell: bash
on:
push:
branches: [ master, '*' ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
heta-version: [ latest ]
platform: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: |
# npm i -g https://github.com/hetalang/heta-compiler.git
npm i -g heta-compiler@${{ matrix.heta-version }}
- name: Clean and build
run: |
rm -rf dist/*
heta build