ng-libs/.github/workflows/main.yaml
renovate[bot] 079d134b04
Update actions/checkout action to v4 (#38)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rinat Arsaev <11846445+A77AY@users.noreply.github.com>
2023-09-19 15:51:59 +04:00

37 lines
1.0 KiB
YAML

name: 'Main'
on:
push:
branches: ['master', 'main']
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: valitydev/action-frontend/setup@v1.0
- run: npm ci
- name: Build
run: npm run build
- name: Publish Angular Core
uses: valitydev/action-frontend/publish@v1.0
with:
npm-token: ${{ secrets.NPM_TOKEN }}
directory: ./projects/ng-core/dist
- name: Publish ESLint Config
uses: valitydev/action-frontend/publish@v1.0
with:
npm-token: ${{ secrets.NPM_TOKEN }}
directory: ./projects/eslint-config
- name: Publish CSpell Config
uses: valitydev/action-frontend/publish@v1.0
with:
npm-token: ${{ secrets.NPM_TOKEN }}
directory: ./projects/cspell-config
- name: Publish Prettier Config
uses: valitydev/action-frontend/publish@v1.0
with:
npm-token: ${{ secrets.NPM_TOKEN }}
directory: ./projects/prettier-config