Skip to content

Added vscode version (#10) #22

Added vscode version (#10)

Added vscode version (#10) #22

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: ProtoAttributor CI
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths-ignore:
- '**/Readme.md'
- '**/GifInstruction/'
- '**/.gitignore'
- '**/.editorconfig'
- '**/workflows/dotnet.yml'
- '**/workflows/node.js.yml'
- '**/visual-studio/**'
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'vscode'
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run pretest --if-present
- run: npm run test-jest-coverage