Skip to content

Merge pull request #24 from sgryjp/dependabot/npm_and_yarn/koa/cors-a… #21

Merge pull request #24 from sgryjp/dependabot/npm_and_yarn/koa/cors-a…

Merge pull request #24 from sgryjp/dependabot/npm_and_yarn/koa/cors-a… #21

Workflow file for this run

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