Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .azure-pipelines/basic-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ steps:
echo ">>> Compile vscode-test"
yarn && yarn compile
echo ">>> Compiled vscode-test"
cd sample
echo ">>> Run sample integration test"
yarn && yarn compile && yarn test
echo ">>> Run tests"
yarn test
displayName: Run Tests
env:
DISPLAY: ':99.0'
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ name: CI

on:
push:

branches: [ main ]
paths-ignore:

paths-ignore:
- 'docs/**'
- '.vscode/**'
- '-azure-pipelines/**'
- '.azure-pipelines/**'

Comment thread
pgfeller marked this conversation as resolved.
pull_request:

branches: [ main ]
paths-ignore:

paths-ignore:
- 'docs/**'
- '.vscode/**'
- '-azure-pipelines/**'
- '.azure-pipelines/**'
Comment thread
pgfeller marked this conversation as resolved.

jobs:
build:
Expand All @@ -27,44 +27,44 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 10.x
node-version: 20.x

Comment thread
pgfeller marked this conversation as resolved.
- run: npm install

- run: xvfb-run -a npm test
if: runner.os == 'Linux'

- run: npm test
if: runner.os != 'Linux'

package:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 10.x
node-version: 20.x

- run: npm install

- name: Fix broken copy-paste module
run: |
sudo cp client/node_modules/copy-paste/platform/linux.js client/node_modules/copy-paste/platform/openbsd.js

- name: compile and create vsix
run: npm run package

- name: print vsix path
run: |
echo "VSIX Path: ${{ env.vsix_path }}"
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3.0.18
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
any-of-labels: 'Feedback, invalid, duplicate'
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ typings/
# nuxt.js build output
.nuxt

# react / gatsby
# react / gatsby
public/

# vuepress build output
Expand Down Expand Up @@ -183,4 +183,4 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/node,linux,macos,windows,visualstudiocode
# End of https://www.gitignore.io/api/node,linux,macos,windows,visualstudiocode
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
3 changes: 3 additions & 0 deletions .volta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"node": "20.12.0"
}
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update CI/CD pipeline Node.js runtime to 20.x LTS
- Update GitHub Actions (actions/checkout, actions/setup-node, actions/stale) to latest maintained versions
- Add preinstall script for Node version validation and Volta configuration
- Add Volta pinning to package.json for consistent development environment
- Update dependencies: axios (0.21.2 → 1.6.0), TypeScript (3.9.7 → 4.9.5), ts-loader (6.2.2 → 9.5.0), webpack-cli (3.3.12 → 4.10.0)
- Update type definitions: @types/lodash (4.14.167 → 4.14.195), @types/node (8.10.66 → 20.0.0)

### Fixed

- Fix CI workflow paths-ignore pattern (.azure-pipelines/**)
- Fix preinstall script Node version detection

### Security

- Remove deprecated request library, use axios instead
- Update GitHub Actions versions to receive security patches

## [1.0.0] - 2021-04-12

- Add native token based authentication (#247)
Expand Down
Loading
Loading