Skip to content

Bump qs from 6.5.2 to 6.5.3 #75

Bump qs from 6.5.2 to 6.5.3

Bump qs from 6.5.2 to 6.5.3 #75

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [published]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
# As part of this, we have to copy loom-common's `package.json` to its `out` folder.
# This is needed because lerna expects loom-common/out to be an npm package (which it only is if it has a package.json file)
# Normally, this is done as part of the build process, but it also needs to be done for a fresh install.
- name: Install dependencies
run: |
mkdir -p loom-common/out
cp loom-common/package.json loom-common/out
npm install
- name: Lint
run: npm run lint
# This step has two purposes:
# 1. Typecheck everything by putting it through tsc
# 2. Build loom-common, which is needed by loom-editor and loom-extension tests
- name: Typecheck and Build
run: npm run build
- name: Tests
run: npm run test
# This only gets run if we're pushing a new tag that starts with "v"
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/v')
run: npm run publish
env:
VSCE_PAT: ${{ secrets.VSCE_DEPLOY_KEY }}