Skip to content

Bump yeoman-environment from 4.4.3 to 5.0.0 (#66) #76

Bump yeoman-environment from 4.4.3 to 5.0.0 (#66)

Bump yeoman-environment from 4.4.3 to 5.0.0 (#66) #76

Workflow file for this run

name: build
on:
push:
branches: [ dev ]
tags: [ '*' ]
paths-ignore:
- '**/*.gitattributes'
- '**/*.gitignore'
- '**/*.md'
pull_request:
branches: [ dev ]
workflow_dispatch:
permissions: {}
jobs:
build:
name: build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
filter: 'tree:0'
persist-credentials: false
show-progress: false
- name: Setup Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Update npm
run: npm install -g npm@latest
- name: Install packages
run: |
npm ci
- name: Setup .NET SDK
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
dotnet-version: '9.0.x'
- name: Lint
run: |
npm run format-check
- name: Test
run: |
npm test
- name: Publish
if: |
github.event.repository.fork == false &&
startsWith(github.ref, 'refs/tags/')
run: npm publish