Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use new event source client #1

Merged
merged 6 commits into from
Aug 6, 2024
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
7 changes: 1 addition & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8
- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: 20
scope: '@oyen-oss'
registry-url: 'https://npm.pkg.github.com/'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: make test

- run: make dist

- run: pnpm publish --access=public --no-git-checks
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,23 @@ on:
branches: ['main']

jobs:
publish-npm:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
version: 8
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
scope: '@oyen-oss'
registry-url: 'https://npm.pkg.github.com/'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: make test
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
146 changes: 0 additions & 146 deletions __tests__/index.test.ts

This file was deleted.

Loading