Skip to content

Merge pull request #278 from appcelerator/APIGOV-32330 #615

Merge pull request #278 from appcelerator/APIGOV-32330

Merge pull request #278 from appcelerator/APIGOV-32330 #615

Workflow file for this run

name: Build
on:
- pull_request
- push
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
run: yarn
- name: Lint
run: yarn run gulp lint
MacOsTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
nodeVersion: ["20.18.2", "22.13.1"]
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run test
WindowsTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
nodeVersion: ["20.18.2", "22.13.1"]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run test
UbuntuTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
nodeVersion: ["20.18.2", "22.13.1"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install libsecret
run: sudo apt-get install -y libsecret-1-0
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn run test