npm run lint:fix
#251
Workflow file for this run
This file contains hidden or 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: Continuous Integration | |
| on: [push] | |
| env: | |
| NODE_VERSION: '18.x' | |
| jobs: | |
| build-vscode: | |
| name: Build the VSCode extension | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up NodeJS ${{ env.NODE_VERSION }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - run: npm install -g typescript | |
| - run: npm install -g vsce | |
| - run: npm install | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Run Prettier Check | |
| run: npm run format:check | |
| - name: Package VSCode extension into .vsix file | |
| run: vsce package |