Skip to content

Merge pull request #243 from paulober/dependabot/npm_and_yarn/axios-1… #490

Merge pull request #243 from paulober/dependabot/npm_and_yarn/axios-1…

Merge pull request #243 from paulober/dependabot/npm_and_yarn/axios-1… #490

Workflow file for this run

name: Build MicroPico extension
on:
pull_request: ~
push:
branches-ignore:
- "dependabot/**"
paths-ignore:
- ".idea/**"
- ".vscode/**"
- "scripts/**"
- "**/*.md"
- ".prettierrc.json"
- "LICENSE"
- ".editorconfig"
- ".eslintrc.json"
permissions:
contents: read
packages: read
jobs:
build:
name: "Build ubuntu-latest"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node v20.14.x
uses: actions/setup-node@v4
with:
node-version: "20.14.x"
registry-url: "https://npm.pkg.github.com"
scope: "@paulober"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Python v3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install NPM Dependencies And Download Stubs
shell: bash
run: |
sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc
npm ci --no-audit
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Package Extension
run: npx @vscode/vsce package --no-yarn -o micropico-${{ github.sha }}.vsix