Skip to content

Commit

Permalink
update effect
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Nov 15, 2023
1 parent b00fa8d commit 073796e
Show file tree
Hide file tree
Showing 43 changed files with 889 additions and 1,530 deletions.
6 changes: 6 additions & 0 deletions .changeset/twenty-lamps-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect-rx/rx-react": minor
"@effect-rx/rx": minor
---

update effect
21 changes: 21 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup
description: Perform standard setup and install dependencies using pnpm.
inputs:
node-version:
description: The version of Node.js to install
required: true
default: 20.9.0

runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install node
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ inputs.node-version }}
- name: Install dependencies
shell: bash
run: pnpm install --ignore-scripts
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm build
- run: pnpm circular
- run: pnpm docgen
- name: Create Release Pull Request or Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check

on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm check
- run: pnpm lint
55 changes: 0 additions & 55 deletions .github/workflows/main.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/pr.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm vitest
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.js
*.ts
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

18 changes: 2 additions & 16 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.validate": [
"markdown",
"javascript",
"typescript"
],
"eslint.validate": ["markdown", "javascript", "typescript"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
Expand All @@ -48,15 +44,5 @@
"**/target": true
},
"files.insertFinalNewline": true,
"nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix",
"testing.automaticallyOpenPeekView": "never",
"files.exclude": {
"packages/rx-react/dist": true,
"packages/rx/dist": true,
"packages/rx/internal": true,
"packages/rx/Registry": true,
"packages/rx/Result": true,
"packages/rx/Rx": true,
"packages/rx/RxRef": true
}
"testing.automaticallyOpenPeekView": "never"
}
44 changes: 0 additions & 44 deletions .vscode/tasks.json

This file was deleted.

4 changes: 0 additions & 4 deletions babel.config.json

This file was deleted.

Loading

0 comments on commit 073796e

Please sign in to comment.