36 lines
984 B
YAML
36 lines
984 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ '*', '!gh-pages' ]
|
|
pull_request:
|
|
branches: [ '*', '!gh-pages' ]
|
|
workflow_dispatch:
|
|
inputs:
|
|
via:
|
|
description: 'trigger origin'
|
|
required: true
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest]
|
|
node-version: [18.x]
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 14
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
# Old versions of bedrock use old libssl that Ubuntu no longer ships with; need manual install
|
|
- name: (Linux) Install libssl 1.1
|
|
if: runner.os == 'Linux'
|
|
run: |
|
|
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
|
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
|
- run: npm install
|
|
- run: npm test
|