File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+ # name: Publish NPM on Release
5+
6+ # on:
7+ # release:
8+ # types: [published]
9+
10+ # permissions:
11+ # id-token: write # Required for OIDC
12+ # contents: read
13+
14+ # jobs:
15+ # build:
16+ # runs-on: ubuntu-latest
17+ # steps:
18+ # - uses: actions/checkout@v6
19+ # - uses: actions/setup-node@v6
20+ # with:
21+ # node-version-file: ./package.json
22+
23+ # - run: npm ci
24+ # - run: npm test
25+
26+ # publish-vsce:
27+ # needs: build
28+ # runs-on: ubuntu-latest
29+ # steps:
30+ # - uses: actions/checkout@v6
31+ # - uses: actions/setup-node@v6
32+ # with:
33+ # node-version-file: ./package.json
34+ # registry-url: https://registry.npmjs.org/
35+ # - run: vsce publish
36+ # env:
37+ # VSCE_PAT: ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 181181 "package" : " webpack --mode production --devtool hidden-source-map" ,
182182 "package:test-vsix" : " npx @vscode/vsce package --pre-release -o sfmc-devtools-vscode-test.vsix" ,
183183 "lint" : " eslint src --ext ts" ,
184+ "test" : " npm run lint" ,
184185 "lint:fix" : " eslint --fix src --ext ts" ,
185186 "lint-ts" : " tsc -p tsconfig.npmScripts.json" ,
186187 "prepare" : " husky" ,
You can’t perform that action at this time.
0 commit comments