diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..43851a9 --- /dev/null +++ b/.github/workflows/build.yml @@ -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: npm run bundle + - run: xvfb-run -a npm run test + - run: npm run vsce + - uses: actions/upload-artifact@v4 + with: + name: vsix + path: packages/vscode-sourcemap-helper/sourcemap-helper-*.vsix diff --git a/packages/vscode-sourcemap-helper/package.json b/packages/vscode-sourcemap-helper/package.json index 7b3a2d1..8876191 100644 --- a/packages/vscode-sourcemap-helper/package.json +++ b/packages/vscode-sourcemap-helper/package.json @@ -10,7 +10,7 @@ "map", "minification" ], - "version": "0.0.4", + "version": "1.0.0", "publisher": "andersnm", "private": true, "author": { @@ -104,7 +104,6 @@ } }, "scripts": { - "vscode:prepublish": "npm run build && npm run bundle", "build": "tsc -p ./", "watch": "tsc -watch -p ./", "test": "vscode-test",