feat: envrc icon #803
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: CI | |
on: | |
push: | |
branches: [main] | |
tags-ignore: [v*] | |
pull_request: | |
branches: [main] | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: true | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: lts/* | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Lint files | |
run: pnpm lint | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: Integrity | |
run: pnpm integrity | |
- name: Build extension | |
run: pnpm build | |
- name: Package extension | |
uses: haaleo/publish-vscode-extension@v1 | |
id: package | |
with: | |
pat: _ | |
dependencies: false | |
dryRun: true | |
- name: Upload VSIX artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.package.outputs.vsixPath }} | |
path: ${{ steps.package.outputs.vsixPath }} |