Skip to content

Update gitignore

Update gitignore #277

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- created
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm install
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install sqlfluff
run: pip install sqlfluff
- name: Run Tests (Linux)
run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Run Tests (Non-Linux)
run: npm test
if: runner.os != 'Linux'
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}