... #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NodeJS with Gulp | |
on: | |
push: | |
branches: [ "package-*" ] | |
pull_request: | |
branches: [ "package-*" ] | |
jobs: | |
# linux: | |
# runs-on: ubuntu-latest | |
# | |
# strategy: | |
# matrix: | |
# node-version: [20.x] | |
# | |
# steps: | |
# - uses: actions/checkout@v4 | |
# | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# | |
# - name: Install dependencies | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install -y libkrb5-dev | |
# | |
# - name: Build | |
# run: | | |
# npm install | |
# npm run gulp vscode-linux-x64 | |
# cp -r ../VSCode-linux-x64 . | |
# mv VSCode-linux-x64 code-x17-linux-x64 | |
# zip -r code-x17-linux-x64.zip code-x17-linux-x64 | |
# | |
# - name: Upload artifact | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: code-x17-linux-x64 | |
# path: code-x17-linux-x64.zip | |
windows: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# - name: Install dependencies | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install -y libkrb5-dev | |
- name: Build | |
run: | | |
npm install | |
npm run gulp vscode-win32-x64 | |
mkdir code-x17-win32-x64 | |
xcopy ..\VSCode-win32-x64 .\code-x17-win32-x64 /E /I | |
7z a -tzip code-x17-win32-x64.zip code-x17-win32-x64 | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: code-x17-win32-x64 | |
path: code-x17-win32-x64.zip |