Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Test
on: [push, pull_request]
jobs:
# -----------------------------------------------------------
# Deno
# -----------------------------------------------------------
Deno:
Build:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
Expand All @@ -13,14 +10,14 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4

# Deno
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary

# Build
- name: Test Library
run: deno task test

# Build
- name: Build Library
run: deno task build
12 changes: 5 additions & 7 deletions .github/workflows/nighty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ on:
schedule:
- cron: '0 18 * * *' # 6pm Daily
jobs:
# -----------------------------------------------------------
# Deno
# -----------------------------------------------------------
Deno:

Nightly:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
Expand All @@ -15,11 +13,11 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4

# Deno
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary

- name: Test TypeScript Range
# Range
- name: Range
run: deno task range
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: read

jobs:
publish:
Publish:
runs-on: ubuntu-latest
steps:

Expand Down
2 changes: 2 additions & 0 deletions changelog/1.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
---

### Version Updates
- [Revision 1.0.21](https://github.com/sinclairzx81/typebox/pull/1374)
- Enable Trusted Publishing: No Functional Changes
- [Revision 1.0.20](https://github.com/sinclairzx81/typebox/pull/1372)
- Standard Schema Infer for Deep Json Schema Embedding
- [Revision 1.0.19](https://github.com/sinclairzx81/typebox/pull/1371)
Expand Down
8 changes: 4 additions & 4 deletions tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { Range } from './task/range/index.ts'
import { Metrics } from './task/metrics/index.ts'
import { Task } from 'tasksmith'

const Version = '1.0.20'
const Version = '1.0.21'

// ------------------------------------------------------------------
// BuildPackage
// Build
// ------------------------------------------------------------------
const BuildPackage = (target: string = `target/build`) => Task.build.esm('src', {
outdir: target,
Expand All @@ -31,7 +31,7 @@ const BuildPackage = (target: string = `target/build`) => Task.build.esm('src',
},
})
// ------------------------------------------------------------------
// PublishPackage
// Publish
// ------------------------------------------------------------------
const PublishPackage = async (target: string = `target/build`) => {
const { version } = JSON.parse(await Task.file(`${target}/package.json`).read())
Expand All @@ -57,7 +57,7 @@ Task.run('local', (target: string = `../build-test/node_modules/typebox`) => Bui
// ------------------------------------------------------------------
// Publish
// ------------------------------------------------------------------
Task.run('publish', (otp: string, target: string = `target/build`) => PublishPackage(target))
Task.run('publish', (target: string = `target/build`) => PublishPackage(target))
// ------------------------------------------------------------------
// Format
// ------------------------------------------------------------------
Expand Down
Loading