Skip to content

Bump @typescript-eslint/parser from 5.59.1 to 5.59.11 #964

Bump @typescript-eslint/parser from 5.59.1 to 5.59.11

Bump @typescript-eslint/parser from 5.59.1 to 5.59.11 #964

Workflow file for this run

name: CI/CD
on:
push:
paths-ignore:
- ".devcontainer/**"
- ".github/workflows/codeql.yml"
- ".github/dependabot.yml"
- ".vscode/**"
- "images/**"
- ".gitpod.Dockerfile"
- ".gitpod.yml"
- ".ncurc.json"
- "*.md"
- "LICENSE"
pull_request:
paths-ignore:
- ".devcontainer/**"
- ".github/workflows/codeql.yml"
- ".github/dependabot.yml"
- ".vscode/**"
- "images/**"
- ".gitpod.Dockerfile"
- ".gitpod.yml"
- ".ncurc.json"
- "*.md"
- "LICENSE"
jobs:
test-n-build:
name: Test and build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Run tests and make coverage
uses: GabrielBB/xvfb-action@v1.6
with:
run: yarn coverage
- name: Upload coverage
uses: codecov/codecov-action@v3
- name: Bundle
run: yarn package
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: vsix
path: vscode-choosealicense-*.vsix
release:
name: Release
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags/')
needs: test-n-build
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: vsix
- name: Get the version
id: get_version
run: echo VERSION=$(jq -r .version package.json) >> $GITHUB_OUTPUT
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCE_PAT }}
extensionFile: vscode-choosealicense-${{ steps.get_version.outputs.VERSION }}.vsix
registryUrl: https://marketplace.visualstudio.com
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OVSX_PAT }}
extensionFile: vscode-choosealicense-${{ steps.get_version.outputs.VERSION }}.vsix
registryUrl: https://open-vsx.org
- name: Create release body
id: extract_changes
uses: ultram4rine/extract-changes-action@v1
with:
changelog: CHANGELOG.md
version: ${{ steps.get_version.outputs.VERSION }}
- name: Create release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.extract_changes.outputs.changes }}
files: |
vscode-choosealicense-*.vsix