fix release Continues Delivery #155
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: [push, pull_request] | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: Install and build | |
run: | | |
yarn --frozen-lockfile | |
yarn compile | |
env: | |
CI: true | |
- name: Test | |
run: yarn test | |
if: runner.os != 'Linux' | |
- name: Test on Linux | |
run: xvfb-run -a yarn test | |
if: runner.os == 'Linux' | |
- name: Lint | |
run: yarn lint |