build(deps): bump braces, @vue/cli-plugin-babel, @vue/cli-plugin-esli… #63
This file contains 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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '**' | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: NPM Install | |
working-directory: ui | |
run: npm ci | |
- name: NPM Lint | |
working-directory: ui | |
run: npm run lint | |
- name: NPM Build | |
working-directory: ui | |
run: npm run build | |
- uses: actions/setup-dotnet@v3 | |
- name: Dotnet Restore | |
run: dotnet restore | |
- name: Nuget markdown files | |
uses: devlooped/actions-include@v1 | |
- name: Dotnet Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Dotnet Test | |
run: dotnet test --no-restore --verbosity normal | |
- name: Upload nuget packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: packages | |
path: artifacts/package/release | |
publish: | |
runs-on: ubuntu-latest | |
needs: build | |
if: ${{ github.ref == 'refs/heads/main' }} | |
steps: | |
- name: Download packages | |
uses: actions/download-artifact@v4 | |
with: | |
name: packages | |
- name: Nuget Push | |
run: | | |
dotnet nuget push "*.nupkg" --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate |