Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andersnm committed Jun 16, 2024
1 parent deae870 commit 9c20ee7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
on: [push]

jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm run build
- run: xvfb-run -a npm run test
- run: npm run bundle
- run: npm run vsce
- uses: actions/upload-artifact@v4
with:
name: vsix
path: packages/vscode-sourcemap-helper/sourcemap-helper-*.vsix
3 changes: 1 addition & 2 deletions packages/vscode-sourcemap-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"map",
"minification"
],
"version": "0.0.4",
"version": "1.0.0",
"publisher": "andersnm",
"private": true,
"author": {
Expand Down Expand Up @@ -104,7 +104,6 @@
}
},
"scripts": {
"vscode:prepublish": "npm run build && npm run bundle",
"build": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "vscode-test",
Expand Down

0 comments on commit 9c20ee7

Please sign in to comment.