Skip to content

Replace pkg with Node SEA #136

Replace pkg with Node SEA

Replace pkg with Node SEA #136

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
permissions:
contents: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn
- run: yarn lint
build-linux:
name: Build Linux
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
with:
node-version: 20.x
run: |

Check failure on line 35 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 35, Col: 9): Unexpected value 'run' .github/workflows/ci.yaml (Line: 32, Col: 9): Required property is missing: uses
yarn
make linux
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-linux.zip bin/linux/*
build-macos:
name: Build MacOS
needs: [lint]
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
run: |
yarn
make macos
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-macos.zip bin/macos/*
release:
name: Release
needs: [build-linux, build-macos]
runs-on: ubuntu-latest
steps:
- name: release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: vivify-*.zip