Prettier integration #93
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: Compile the extension | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Set up Node 22 📦 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22" | |
cache: npm | |
- name: Install dependencies 🧰 | |
run: | | |
npm ci --foreground-scripts | |
npm install -g @vscode/vsce | |
- name: Build and package the extension 🔧 | |
run: | | |
# Equivalent to a dry run of the publish command | |
# Runs the prepublish script, which runs the compile script | |
vsce ls |