Packaging enhancements #153
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- dev | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
host: | |
- x64 | |
target: | |
- x64 | |
node: | |
- 18 | |
name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }}) | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: check bash | |
run: yarn run check:bash:ci | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
architecture: ${{ matrix.host }} | |
- name: Install dependencies | |
run: yarn install --network-timeout 300000 | |
- name: Hooks and crooks | |
run: yarn run setup | |
env: | |
RUN_OS: ${{ matrix.os }} | |
RUN_ARCH: ${{ matrix.target }} | |
- name: Build | |
run: yarn run build | |
- name: Test | |
run: yarn run test |