Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Integrate
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: holepunchto/actions/node-base@v1
- run: npm run lint
test:
strategy:
matrix:
include:
- os: ubuntu-latest
platform: linux
- os: macos-latest
platform: darwin
- os: windows-latest
platform: win32
runs-on: ${{ matrix.os }}
name: Test / ${{ matrix.platform }}
steps:
- uses: holepunchto/actions/bare-base@v1
- run: npm test
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish
on:
push:
tags:
- v*
permissions:
id-token: write
contents: write
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: npm
name: Publish
steps:
- uses: holepunchto/actions/node-base@v1
- uses: holepunchto/actions/publish@v1
4 changes: 2 additions & 2 deletions fixtures/test.snapshot.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
`

exports['generate - types - 0'] =
`export function start(pear: unknown): Promise<{ ipc: import('bare-stow/host').IPC }>
`export function start(pear: import('pear-runtime')): Promise<{ ipc: import('bare-stow/host').IPC }>
`

exports['generate with client - harness - 0'] = `const path = require('path')
Expand All @@ -44,7 +44,7 @@ module.exports = {
`

exports['generate with client - types - 0'] =
`export function start(pear: unknown): Promise<{ ipc: import('bare-stow/host').IPC; rpc: import('bare-rpc') }>
`export function start(pear: import('pear-runtime')): Promise<{ ipc: import('bare-stow/host').IPC; rpc: import('bare-rpc') }>
`

/* eslint-enable */
Loading