Skip to content

Commit 3e802f7

Browse files
committed
add publish infra
1 parent b95d193 commit 3e802f7

20 files changed

+200316
-193695
lines changed

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "Effect-TS/monaco-editor"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "restricted",
13+
"baseBranch": "main",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.changeset/dirty-socks-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@effect/monaco-editor': patch
3+
---
4+
5+
initial forked version of monaco-editor for the Effect Playground

.github/ISSUE_TEMPLATE/1_bug_report.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2_feature_request.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/3_other.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/publish-failure-issue-template.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/check.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Check
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions: {}
14+
15+
jobs:
16+
build:
17+
if: github.repository_owner == 'Effect-Ts'
18+
name: Build
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 30
21+
permissions:
22+
contents: write
23+
id-token: write
24+
pull-requests: write
25+
steps:
26+
- uses: actions/checkout@v4
27+
- name: Install dependencies
28+
uses: ./.github/actions/setup
29+
- run: npm run build-monaco-editor
30+
- run: npm run import-typescript
31+
- run: npm run build-monaco-editor
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [main]
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
9+
permissions: {}
10+
11+
jobs:
12+
release:
13+
if: github.repository_owner == 'Effect-Ts'
14+
name: Release
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 30
17+
permissions:
18+
contents: write
19+
id-token: write
20+
pull-requests: write
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Install dependencies
24+
uses: ./.github/actions/setup
25+
- name: Create Release Pull Request or Publish
26+
uses: changesets/action@v1
27+
with:
28+
version: npm changeset-version
29+
publish: npm changeset-publish
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)