Skip to content

fix #297 (#314)

fix #297 (#314) #49

Workflow file for this run

name: pr-verify
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pr-verify-job:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
node:
- 20
steps:
- run: |
sudo apt-get update
sudo apt-get install erlang
if: runner.os == 'Linux'
- run: |
brew install erlang@26
if: runner.os =='macOS'
- run: |
VERSION=$(ls /opt/homebrew/Cellar/erlang/)
export PATH=$PATH:/opt/homebrew/Cellar/erlang/$VERSION/bin
erl -version
name: setup path
if: runner.os =='macOS'
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install -g typescript "vsce"
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- run: |
./rebar3 ct