Skip to content

Simplify no-unclosed-tag rule #464

Simplify no-unclosed-tag rule

Simplify no-unclosed-tag rule #464

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Run
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
node: [18, 20]
exclude:
- os: windows-latest
node: "17"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
# npm@9 doesn't support Node 17.
- name: Install npm@8
run: npm i -g npm@8
- name: Install
run: npm ci
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: npm run lint
- name: test
run: npm run test:headless
- name: Package vscode plugin
if: matrix.os == 'ubuntu-latest'
run: npm run package && mv packages/vscode-lit-plugin/out/packaged.vsix vscode-lit-plugin.vsix
- name: Upload artifacts
uses: actions/upload-artifact@master
if: matrix.os == 'ubuntu-latest' && matrix.node == 16
with:
name: vscode-lit-plugin.vsix
path: vscode-lit-plugin.vsix