chore(deps): bump @azure/identity from 4.2.0 to 4.3.0 (#559) #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-20.04 | |
if: startsWith(github.ref, 'refs/tags/') | |
steps: | |
- | |
name: Checkout code | |
uses: actions/[email protected] | |
- | |
name: Use Node.js 14 | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
- | |
name: Cache node_modules | |
id: cache-node_modules | |
uses: actions/[email protected] | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-build-node_modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-node_modules- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- | |
name: Install dependencies | |
if: steps.cache-node_modules.outputs.cache-hit != 'true' | |
run: | | |
yarn install --frozen-lockfile | |
- | |
name: Build vsix | |
run: | | |
yarn vsce package | |
- | |
name: Release | |
run: | | |
yarn vsce publish --yarn --pat ${{ secrets.VSCE_PAT }} | |
yarn ovsx publish --yarn --pat ${{ secrets.OVSX_PAT }} | |
- | |
name: GitHub Release | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: '*.vsix' |