Skip to content

Commit

Permalink
chore: automatic deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsManta committed Aug 27, 2024
1 parent 64a6403 commit 506fb97
Show file tree
Hide file tree
Showing 6 changed files with 1,993 additions and 578 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/master-pushed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches: [master]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: npm

- run: npm ci --ignore-scripts

- run: npx auto-npm-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PUBLISH_TOKEN: ${{ secrets.VSCE_PUBLISH_TOKEN }}
1 change: 0 additions & 1 deletion edge/JavaScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as fp from 'path'
import * as cp from 'child_process'
import * as vscode from 'vscode'
import * as ts from 'typescript'
import fetch from 'node-fetch'
import sortBy from 'lodash/sortBy'
import memoize from 'lodash/memoize'
import isEqual from 'lodash/isEqual'
Expand Down
16 changes: 16 additions & 0 deletions lefthook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"pre-commit": {
"commands": {
"type": {
"run": "npx tsc --noEmit"
}
}
},
"commit-msg": {
"commands": {
"lint": {
"run": "npx lint-commit-message {1}"
}
}
}
}
Loading

0 comments on commit 506fb97

Please sign in to comment.