mirror of
https://github.com/valitydev/ng-libs.git
synced 2024-11-06 08:45:27 +00:00
079d134b04
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rinat Arsaev <11846445+A77AY@users.noreply.github.com>
37 lines
1.0 KiB
YAML
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
|