Skip to content

gg

gg #61

Workflow file for this run

/*
* ┌─────────────────────────────────────────────────────────────────────┐
* │ │
* │ ███╗ ███╗██╗██████╗ │
* │ ████╗ ████║██║██╔══██╗ │
* │ ██╔████╔██║██║██████╔╝ │
* │ ██║╚██╔╝██║██║██╔═══╝ │
* │ ██║ ╚═╝ ██║██║██║ │
* │ ╚═╝ ╚═╝╚═╝╚═╝ │
* │ │
* │ MInimal Package Manager │
* │ https://github.com/kiwinatra/mip │
* │ │
* │ MIT License · Copyright (c) 2026 kiwinatra │
* │ │
* └─────────────────────────────────────────────────────────────────────┘
*/
name: CI

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: node bin/mip.js --version
- run: node bin/mip.js init test-project
- run: node bin/mip.js install lodash --cwd test-project
- run: node bin/mip.js list --cwd test-project
- run: node bin/mip.js outdated --cwd test-project
- run: node bin/mip.js audit --cwd test-project
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npx eslint lib/ bin/
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm audit --production