Skip to content

chore(deps-dev): bump tar-fs from 3.0.9 to 3.1.1 #78

chore(deps-dev): bump tar-fs from 3.0.9 to 3.1.1

chore(deps-dev): bump tar-fs from 3.0.9 to 3.1.1 #78

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install xvfb for headless browser testing
run: sudo apt-get install -y xvfb
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm ci
- run: xvfb-run npm run test
package:
runs-on: ubuntu-latest
needs: test
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm ci
- run: npm install --global @vscode/vsce
- run: vsce package -o ./dist
- uses: actions/upload-artifact@v4
with:
name: vsix-file
path: |
./dist/vscode-stable-sort-*.vsix
release:
if: "startsWith(github.ref, 'refs/tags/')"
needs: package
runs-on: ubuntu-latest
env:
VSCE_PAT: ${{ secrets.VSMARKETPLACE_TOKEN }}
OVSX_PAT: ${{ secrets.OPENVSX_TOKEN }}
steps:
- name: Make sure PATs are accessible.
run: echo $VSCE_PAT | wc -c; echo $OVSX_PAT | wc -c
- name: Check out the repository
uses: actions/checkout@v4
- name: Download already built package files
uses: actions/download-artifact@v4
with:
name: vsix-file
path: dist
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Install vsce
run: npm install -g @vscode/vsce
- name: Publish to Visual Studio Marketplace
run: vsce publish --packagePath ./dist/vscode-stable-sort-*.vsix
timeout-minutes: 5
- name: Install ovsx
run: npm install -g ovsx
- name: Publish to Open VSX Repository
run: ovsx publish --packagePath ./dist/vscode-stable-sort-*.vsix
timeout-minutes: 5