chore(deps-dev): bump the eslint group across 1 directory with 6 updates #1899
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- pull_request | |
- push | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Type Check | |
run: npm run compile | |
- name: Lint | |
run: npm run lint | |
Unit-Test: | |
name: ${{ matrix.os }} - Unit Tests | |
needs: Lint | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Run Tests | |
uses: GabrielBB/[email protected] | |
with: | |
run: npm run test | |
Package: | |
runs-on: ubuntu-latest | |
needs: [Lint, Unit-Test] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Build VSIX | |
run: npx vsce package | |
- name: Archive VSIX | |
uses: actions/upload-artifact@v2 | |
with: | |
path: titanium-sdk-*.vsix |