Skip to content

Commit 9513372

Browse files
authored
Merge pull request #6 from vim-denops/support-jsr
☕ Support JSR
2 parents b795a87 + 53bcabb commit 9513372

File tree

5 files changed

+45
-55
lines changed

5 files changed

+45
-55
lines changed

.github/workflows/jsr.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: jsr
2+
3+
env:
4+
DENO_VERSION: 1.x
5+
6+
on:
7+
push:
8+
tags:
9+
- "v*"
10+
11+
permissions:
12+
contents: read
13+
id-token: write
14+
15+
jobs:
16+
publish:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
- uses: denoland/setup-deno@v1
23+
with:
24+
deno-version: ${{ env.DENO_VERSION }}
25+
- name: Publish
26+
run: |
27+
deno run -A jsr:@david/[email protected]

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,14 @@ jobs:
3636
run: deno fmt --check
3737
- name: Type check
3838
run: deno task check
39+
40+
jsr-publish:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
- uses: denoland/setup-deno@v1
45+
with:
46+
deno-version: ${{ env.DENO_VERSION }}
47+
- name: Publish (dry-run)
48+
run: |
49+
deno publish --dry-run

.github/workflows/update.yml

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

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 🪐 denops_core
22

3-
[![test](https://github.com/vim-denops/deno-denops/workflows/test/badge.svg)](https://github.com/vim-denops/deno-denops/actions?query=workflow%3Atest)
3+
[![jsr](https://img.shields.io/jsr/v/%40denops/core?logo=javascript&logoColor=white)](https://jsr.io/@denops/core)
4+
[![denoland](https://img.shields.io/github/v/release/vim-denops/deno-denops-core?logo=deno&label=denoland)](https://deno.land/x/denops_core)
45
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/denops_core/mod.ts)
5-
[![deno land](http://img.shields.io/badge/available%20on-deno.land/x/denops__core-lightgrey.svg?logo=deno)](https://deno.land/x/denops_core)
6+
[![test](https://github.com/vim-denops/deno-denops/workflows/test/badge.svg)](https://github.com/vim-denops/deno-denops/actions?query=workflow%3Atest)
67

78
This module is a fundamental component of [denops.vim], an ecosystem for
89
crafting plugins in [Deno] for Vim/Neovim.

deno.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"lock": false,
2+
"name": "@denops/core",
3+
"version": "0.0.0",
4+
"exports": "./mod.ts",
35
"tasks": {
46
"test": "deno test -A --parallel --shuffle --doc --coverage=.coverage",
57
"check": "deno check ./**/*.ts",
6-
"coverage": "deno coverage .coverage",
7-
"upgrade": "deno run -q -A https://deno.land/x/[email protected]/cli.ts ./**/*.ts",
8-
"upgrade:commit": "deno task -q upgrade --commit --prefix :package: --pre-commit=fmt"
8+
"coverage": "deno coverage .coverage"
99
}
1010
}

0 commit comments

Comments
 (0)