Skip to content

chore(cli): Fix package repository path (#24) #53

chore(cli): Fix package repository path (#24)

chore(cli): Fix package repository path (#24) #53

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
merge_group:
env:
CI: 1
jobs:
test:
name: Test for Node ${{ matrix.node-version }} on ${{ matrix.os }}
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
node-version: [18, 20]
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: pnpm test
lint:
name: Lint
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: 20
- name: Test
run: pnpm lint
ci-done:
name: Ok
needs:
- test
- lint
if: always()
runs-on: ubuntu-latest
steps:
- run: exit 1
if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')) }}