ci(release): pin release-critical CI dependencies #385
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: VS Code Extension | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| extension: | |
| name: Compile GOX extension | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: extensions/vscode-gox | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 | |
| with: | |
| node-version: '24.18.1' | |
| cache: npm | |
| cache-dependency-path: extensions/vscode-gox/package-lock.json | |
| - name: Validate JSON | |
| run: | | |
| node -e "JSON.parse(require('fs').readFileSync('package.json','utf8'))" | |
| node -e "JSON.parse(require('fs').readFileSync('syntaxes/gox.tmLanguage.json','utf8'))" | |
| node -e "JSON.parse(require('fs').readFileSync('snippets/gox.code-snippets','utf8'))" | |
| node -e "JSON.parse(require('fs').readFileSync('language-configuration.json','utf8'))" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Compile and test | |
| run: npm test |