Skip to content

Commit

Permalink
add drone action
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Jun 18, 2024
1 parent d34699a commit 24f1c88
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: libession-util-nodejs build test

on:
push:
branches:
- main
- dev
- test-audric

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-11, ubuntu-20.04]
env:
SIGNAL_ENV: production
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: git config --global core.autocrlf false

- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: 'recursive'


- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Add msbuild to PATH
uses: microsoft/[email protected]
if: runner.os == 'Windows'

- name: Setup node for windows
if: runner.os == 'Windows'
shell: bash
run: |
yarn global add node-gyp@latest
- name: Install dependencies
shell: bash
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --network-timeout 600000

0 comments on commit 24f1c88

Please sign in to comment.