Skip to content

[AXON-29] chore: initial setup of Github CI #5

[AXON-29] chore: initial setup of Github CI

[AXON-29] chore: initial setup of Github CI #5

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run lint
- name: Run unit tests
run: npm run test
- name: Build the extension
run: npm run extension:package
- name: Verify VSCE token
run: |
npx vsce vefify-pat -p ${{ secrets.VSCE_MARKETPLACE_TOKEN }}
- name: Verify OpenVSX token
run: |
npx ovsx vefify-pat -p ${{ secrets.OPENVSX_KEY }}