Skip to content

Commit

Permalink
workaround ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
serkonda7 committed Mar 1, 2024
1 parent ba8cb03 commit 2f250ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches: [main]
tags: ['0.[0-9]+.[0-9]+']
tags: ['*']

jobs:
test:
Expand All @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: bait-lang/setup-bait@main
Expand All @@ -52,7 +52,8 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: vba.vsix
path: vscode-vba-0.*.*.vsix
path: vba.vsix
if-no-files-found: error


publish:
Expand All @@ -64,10 +65,13 @@ jobs:
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: vba.vsix

- name: Create Release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
files: vba.vsix

- id: publish_to_marketplace
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"test-vba": "vscode-tmgrammar-test -g ./out/vba.json \"syntaxes/tests/vba/*.bas\"",
"test-wwb": "vscode-tmgrammar-test -g ./out/wwb.json \"syntaxes/tests/other/*.wwd\"",
"install-dev-ext": "vsce package -o ./out/vscode-vba-dev.vsix && code --install-extension ./out/vscode-vba-dev.vsix --force",
"package": "vsce package",
"package": "vsce package -o vba.vsix",
"convert-yaml": "yaml2json language-configuration.yml \"syntaxes/*.yaml-tmlanguage\" \"snippets/*.yml\"",
"vscode:prepublish": "pnpm run compile && pnpm run convert-yaml"
},
Expand Down

0 comments on commit 2f250ff

Please sign in to comment.