mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-16 05:39:48 +03:00
Compare commits
1 Commits
0.25.82-cl
...
release-ty
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7c562d6d1 |
5
.github/workflows/prepare-release.yml
vendored
5
.github/workflows/prepare-release.yml
vendored
@@ -45,6 +45,11 @@ jobs:
|
||||
node-version: "24.x"
|
||||
cache: npm
|
||||
|
||||
- name: Use Deno
|
||||
uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
@@ -113,6 +113,15 @@ describe("release workflow", () => {
|
||||
expect(workflow).toMatch(/git add[^\n]*_types/);
|
||||
});
|
||||
|
||||
it("installs Deno before post-processing fallback type definitions", () => {
|
||||
const workflow = readFileSync(prepareReleaseWorkflow, "utf8");
|
||||
const setupDeno = workflow.indexOf("denoland/setup-deno@v2");
|
||||
const buildTypes = workflow.indexOf("npm run build:lib:types");
|
||||
|
||||
expect(setupDeno).toBeGreaterThan(-1);
|
||||
expect(setupDeno).toBeLessThan(buildTypes);
|
||||
});
|
||||
|
||||
it("keeps the release PR in draft until BRAT validation", () => {
|
||||
const workflow = readFileSync(prepareReleaseWorkflow, "utf8");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user