Skip to content

Commit c8ca5f9

Browse files
committed
add some github stuff for auto release
1 parent f3e71c8 commit c8ca5f9

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

.github/workflows/publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
contents: read
13+
id-token: write
14+
15+
steps:
16+
- name: Clone repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install Deno
20+
uses: denoland/setup-deno@v2
21+
with:
22+
deno-version: v2.x
23+
24+
- name: Format and lint
25+
run: deno task format
26+
27+
- name: Run tests
28+
run: deno task test
29+
30+
- name: Publish package
31+
if: success()
32+
run: deno publish

deno.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@codingap/steve",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"exports": "./index.ts",
5+
"description": "STEVE is a configurable template engine that allows JavaScript to run in files to create files. It has a plugin system to allow for custom generation and a built-in site generator.",
56
"tasks": {
6-
"dev": "deno run --watch main.ts",
7-
"test": "deno test --allow-read --allow-write",
7+
"test": "deno test --fail-fast --allow-read --allow-write",
88
"format": "deno lint && deno fmt"
99
},
1010
"imports": {},

0 commit comments

Comments
 (0)