Skip to content

Commit 37f835a

Browse files
committed
Version 1.0.21 (#1374)
* Trusted Publishing * ChangeLog * Version
1 parent 9c43626 commit 37f835a

5 files changed

Lines changed: 17 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Test
22
on: [push, pull_request]
33
jobs:
4-
# -----------------------------------------------------------
5-
# Deno
6-
# -----------------------------------------------------------
7-
Deno:
4+
Build:
85
runs-on: ${{ matrix.os }}
96
timeout-minutes: 15
107
strategy:
@@ -13,14 +10,14 @@ jobs:
1310
os: [ubuntu-latest, macOS-latest, windows-latest]
1411
steps:
1512
- uses: actions/checkout@v4
16-
13+
# Deno
1714
- name: Install Deno
1815
uses: denoland/setup-deno@v2
1916
with:
2017
deno-version: canary
21-
18+
# Build
2219
- name: Test Library
2320
run: deno task test
24-
21+
# Build
2522
- name: Build Library
2623
run: deno task build

.github/workflows/nighty.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ on:
33
schedule:
44
- cron: '0 18 * * *' # 6pm Daily
55
jobs:
6-
# -----------------------------------------------------------
7-
# Deno
8-
# -----------------------------------------------------------
9-
Deno:
6+
7+
Nightly:
108
runs-on: ${{ matrix.os }}
119
timeout-minutes: 15
1210
strategy:
@@ -15,11 +13,11 @@ jobs:
1513
os: [ubuntu-latest, macOS-latest, windows-latest]
1614
steps:
1715
- uses: actions/checkout@v4
18-
16+
# Deno
1917
- name: Install Deno
2018
uses: denoland/setup-deno@v2
2119
with:
2220
deno-version: canary
23-
24-
- name: Test TypeScript Range
21+
# Range
22+
- name: Range
2523
run: deno task range

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: Publish
33
on:
44
push:
55
tags:
6-
- '[0-9]+.[0-9]+.[0-9]+**' # Semver-Tag
6+
- '[0-9]+.[0-9]+.[0-9]+*' # Semver-Tag
77

88
permissions:
99
id-token: write # Required for OIDC
1010
contents: read
1111

1212
jobs:
13-
publish:
13+
Publish:
1414
runs-on: ubuntu-latest
1515
steps:
1616

changelog/1.0.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
---
44

55
### Version Updates
6+
- [Revision 1.0.21](https://github.com/sinclairzx81/typebox/pull/1374)
7+
- Enable Trusted Publishing: No Functional Changes
68
- [Revision 1.0.20](https://github.com/sinclairzx81/typebox/pull/1372)
79
- Standard Schema Infer for Deep Json Schema Embedding
810
- [Revision 1.0.19](https://github.com/sinclairzx81/typebox/pull/1371)

tasks.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import { Range } from './task/range/index.ts'
88
import { Metrics } from './task/metrics/index.ts'
99
import { Task } from 'tasksmith'
1010

11-
const Version = '1.0.20'
11+
const Version = '1.0.21'
1212

1313
// ------------------------------------------------------------------
14-
// BuildPackage
14+
// Build
1515
// ------------------------------------------------------------------
1616
const BuildPackage = (target: string = `target/build`) => Task.build.esm('src', {
1717
outdir: target,
@@ -31,7 +31,7 @@ const BuildPackage = (target: string = `target/build`) => Task.build.esm('src',
3131
},
3232
})
3333
// ------------------------------------------------------------------
34-
// PublishPackage
34+
// Publish
3535
// ------------------------------------------------------------------
3636
const PublishPackage = async (target: string = `target/build`) => {
3737
const { version } = JSON.parse(await Task.file(`${target}/package.json`).read())
@@ -57,7 +57,7 @@ Task.run('local', (target: string = `../build-test/node_modules/typebox`) => Bui
5757
// ------------------------------------------------------------------
5858
// Publish
5959
// ------------------------------------------------------------------
60-
Task.run('publish', (otp: string, target: string = `target/build`) => PublishPackage(target))
60+
Task.run('publish', (target: string = `target/build`) => PublishPackage(target))
6161
// ------------------------------------------------------------------
6262
// Format
6363
// ------------------------------------------------------------------

0 commit comments

Comments
 (0)