[#54869] Add release workflow #3
Workflow file for this run
This file contains 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: build jswasi | |
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
pull_request: | |
workflow_call: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:bookworm | |
steps: | |
- name: Install dependencies | |
run: apt-get -qqy update && apt-get -qqy install node-typescript make gettext-base npm wget | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Build jswasi | |
run: make standalone | |
- name: Test jswasi | |
run: make test | |
- name: Upload dist | |
uses: actions/upload-artifact@v3 | |
with: | |
name: jswasi | |
path: ./dist/ |