waforth/.github/actions/setup/action.yml
2022-05-23 21:37:02 +02:00

16 lines
540 B
YAML

name: "Setup project"
runs:
using: "composite"
steps:
- uses: actions/setup-node@v2
with:
node-version: 17
cache: 'yarn'
# We depend on a more recent version, not available in current Ubuntu (20.04). Should be available in 22.04
# - run: sudo apt-get install wabt
- run: |
curl -L -s https://github.com/WebAssembly/wabt/releases/download/1.0.27/wabt-1.0.27-ubuntu.tar.gz | tar xvz -C /tmp
sudo mv /tmp/wabt-1.0.27/bin/* /usr/local/bin
shell: bash
- run: yarnpkg --pure-lockfile
shell: bash