Skip to content

fix(deps): update dependency commander to v13 #1636

fix(deps): update dependency commander to v13

fix(deps): update dependency commander to v13 #1636

Workflow file for this run

name: Node CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test_no_xsel:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x, 22.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: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true
NODE_ENV: test
# - name: shell test
# run: |
# npm link
# ./__tests__/shell.test.sh
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 5
# with:
# limit-access-to-actor: true
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x, 22.x]
steps:
- name: Install xsel
run: sudo apt-get install xsel xvfb
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
xvfb-run npm test
env:
CI: true
NODE_ENV: test
release:
name: semantic-release
needs: [test, test_no_xsel]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- id: semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}