Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
wip
  • Loading branch information
jer3m01 committed Feb 23, 2025
commit 0ef2c6440f1b05f8c7b4ab4a92d39b73dce65fc8
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Typecheck

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
typescript:
name: Typescript
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 2

- uses: pnpm/action-setup@v4

- name: Setup Node.js 21.6.1
uses: actions/setup-node@v4
with:
node-version: 21.6.1
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Typecheck
run: pnpm typecheck
19 changes: 8 additions & 11 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
name: Typecheck
name: Release

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
typescript:
name: Typescript
Release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 2
fetch-depth: 0

- uses: pnpm/action-setup@v4

- name: Setup Node.js 21.6.1
- name: Setup Node.js 22.14.0
uses: actions/setup-node@v4
with:
node-version: 21.6.1
node-version: 22.14.0
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Typecheck
run: pnpm typecheck
- name: Release
run: pnpm release
2 changes: 1 addition & 1 deletion scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!execSync("git --version").includes("git version")) {
}

// @ts-ignore
const DRY_RUN = !process.env.GITHUB_ACTIONS;
const DRY_RUN = true;//!process.env.GITHUB_ACTIONS;

if (DRY_RUN) console.log("DRY RUN\n");
else console.log("LIVE RUN (GITHUB ACTION)")
Expand Down
Loading