Skip to content

ci: Use Node.js 20 and pnpm #30

ci: Use Node.js 20 and pnpm

ci: Use Node.js 20 and pnpm #30

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- master
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
node-version: ["20", "latest"]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js (${{ matrix.node-version }})
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: latest
run_install: true
- run: pnpm install-test
package:
runs-on: windows-latest
needs: test
strategy:
matrix:
node-version: ["20"]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js (${{ matrix.node-version }})
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: latest
run_install: true
- run: npm install --global vsce
- run: vsce package
- uses: actions/upload-artifact@v3
with:
name: "VSIX file"
path: |
japanese-word-handler-*.vsix