Skip to content

Setup for NPM trusted publishing (#512) #506

Setup for NPM trusted publishing (#512)

Setup for NPM trusted publishing (#512) #506

Workflow file for this run

name: CI
on:
push:
branches: [v6]
pull_request:
branches: [v6]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x" # latest LTS build
- name: Install npm dependencies
run: npm ci
- name: Node Build
env:
FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }}
run: npm run build
- name: Run linters
run: npm run lint
- name: Validate V6 release policy
run: npm run test:release
- name: Validate documentation site
run: npm run test:site
- name: .NET Build
run: npm run build:nuget
- name: .NET test
run: npm run test:nuget