Skip to content

Commit

Permalink
switch to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetCarpenter committed Nov 10, 2024
1 parent af3bb9c commit 6515910
Show file tree
Hide file tree
Showing 7 changed files with 3,395 additions and 2,550 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
cache-dependency-path: yarn.lock
cache: npm
cache-dependency-path: package-lock.json
- name: Install and build
run: |
yarn --frozen-lockfile
yarn compile
npm ci
npm run compile
env:
CI: true
- name: Test
run: yarn test
run: npm test
if: runner.os != 'Linux'
- name: Test on Linux
run: xvfb-run -a yarn test
run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Lint
run: yarn lint
run: npm run lint
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
cache: yarn
cache-dependency-path: yarn.lock
- name: Install and build
run: yarn --frozen-lockfile
run: npm ci
env:
CI: true
- name: Build
run: yarn compile
run: npm run compile
env:
CI: true
- name: Build web
run: yarn package-web
run: npm run package-web
env:
CI: true
- name: Publish with vsce
run: |
yarn global add @vscode/vsce
npm install --global @vscode/vsce
# Try to publish and ignore any errors (that version was already published)
vsce publish -p $VSCE_TOKEN || true
env:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist/
node_modules/
out/
package-lock.json
.vscode-test/
*.vsix
yarn.lock
Loading

0 comments on commit 6515910

Please sign in to comment.