Skip to content

Commit

Permalink
Fix the build pipeline (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima authored Oct 13, 2022
1 parent 4960c0c commit bfd45ab
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push, pull_request]
on: [pull_request]

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"release/**": true,
"coverage/**": true
},
"git.branchProtection": ["main"],
"lcov.sourceMaps": true,
"typescript.tsdk": "./node_modules/typescript/lib",
"tslint.enable": true,
Expand Down
7 changes: 5 additions & 2 deletions build/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ extends:
displayName: Install dependencies

- script: npm run compile
displayName: Compile npm package
displayName: Compile

- script: npm run bundle
displayName: Bundle

testSteps:
- script: npm test
displayName: Test npm package
displayName: Test

publishPackage: ${{ parameters.publishPackage }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-textmate",
"version": "7.0.2",
"version": "7.0.3",
"description": "VSCode TextMate grammar helpers",
"author": {
"name": "Microsoft Corporation"
Expand All @@ -22,9 +22,10 @@
"benchmark": "node benchmark/benchmark.js",
"inspect": "node out/tests/inspect.js",
"tmconvert": "node scripts/tmconvert.js",
"version": "npm run compile && npm run test && node scripts/release.js",
"version": "npm run compile && npm run test",
"postversion": "git push && git push --tags",
"prepublishOnly": "tsc && webpack --progress && node scripts/release.js"
"prepublishOnly": "tsc && webpack --progress",
"bundle": "webpack"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
Expand Down
9 changes: 0 additions & 9 deletions scripts/release.js

This file was deleted.

0 comments on commit bfd45ab

Please sign in to comment.