Skip to content

Revert "Back to Nix" #17

Revert "Back to Nix"

Revert "Back to Nix" #17

Workflow file for this run

name: Main workflow
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setup Esy
run: npm i -g esy
- name: Build
run: esy
- name: Test
run: esy test
- name: Upload the build artifact
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-packsnap.exe
path: _esy/default/build/default/bin/main.exe
lint-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setup Esy
run: npm i -g esy
- name: Lint doc
run: esy install && esy doc
lint-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setup Esy
run: npm i -g esy
- name: Lint fmt
run: esy install && esy fmt