github: fix build

This commit is contained in:
Remko Tronçon 2022-04-24 20:02:49 +02:00
parent 3034869230
commit f17e5dd820

View file

@ -11,9 +11,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'yarn'
- run: sudo apt-get install wabt
# 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.20/wabt-1.0.20-ubuntu.tar.gz | tar xvz -C /tmp
sudo mv /tmp/wabt-1.0.20/bin/* /usr/local/bin
- run: yarnpkg --pure-lockfile
- run: yarnpkg build
- run: yarnpkg lint