Skip to content

Bump micromatch from 4.0.5 to 4.0.8 in /docs (#1372) #1469

Bump micromatch from 4.0.5 to 4.0.8 in /docs (#1372)

Bump micromatch from 4.0.5 to 4.0.8 in /docs (#1372) #1469

name: Formatter Test & Build
on:
push:
branches:
- dev
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v1
with:
ref: ${{ github.ref }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- env:
HUSKY_SKIP_INSTALL: "true"
run: |
yarn
- name: type check
run: |
yarn run test:tsc
- name: test & build
env:
HUSKY_SKIP_INSTALL: "true"
run: |
cd packages/formatter
yarn
yarn pack
- name: 'Upload tgz'
uses: actions/upload-artifact@v2
with:
name: package
path: ./packages/formatter/*.tgz
# - uses: codecov/codecov-action@v3
# if: github.repository == 'mtxr/vscode-sqltools'
# with:
# flags: "formatter"