Skip to content

Commit e8c139e

Browse files
authored
fix: workflows (#338)
* fix: workflows * chore: remove duplicate run on PR * chore: update deprecated vscode settings
1 parent 7da1611 commit e8c139e

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/package-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
# with:
12-
# ref: refs/pull/${{ github.event.number }}/merge
11+
with:
12+
ref: refs/pull/${{ github.event.number }}/merge
1313

1414
- uses: oven-sh/setup-bun@v2
1515
with:

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ on:
3030
default: "ubuntu-latest"
3131
type: choice
3232

33-
pull_request_target:
3433
push:
3534
branches:
3635
- "*" # matches every branch that doesn't contain a '/'

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
},
2222
"biome.enabled": true,
2323
"prettier.enable": false,
24-
"typescript.tsdk": "node_modules/typescript/lib",
25-
"typescript.enablePromptUseWorkspaceTsdk": true
24+
"js/ts.tsdk.path": "node_modules/typescript/lib",
25+
"js/ts.tsdk.promptToUseWorkspaceVersion": true
2626
}

0 commit comments

Comments
 (0)