Skip to content

Bump braces from 3.0.2 to 3.0.3 in /tools/vscode_automatic_query_fixer #35

Bump braces from 3.0.2 to 3.0.3 in /tools/vscode_automatic_query_fixer

Bump braces from 3.0.2 to 3.0.3 in /tools/vscode_automatic_query_fixer #35

name: VS Code Extension for Automatic Query Fixer
on:
push:
paths:
- 'tools/vscode_automatic_query_fixer/**'
- '.github/workflows/vscode-automatic-query-fixer.yml'
pull_request:
paths:
- 'tools/vscode_automatic_query_fixer/**'
- '.github/workflows/vscode-automatic-query-fixer.yml'
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/vscode_automatic_query_fixer
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm install
- name: Run linter/checks
run: npm run check
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: tools/vscode_automatic_query_fixer
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm install
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: npm test