ci(release): 🚧 try testing ci release
Building artifact for downloading
This commit is contained in:
parent
044f0a5e84
commit
753363dd44
1 changed files with 29 additions and 0 deletions
29
.github/publish.yml
vendored
Normal file
29
.github/publish.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: Web Client Package
|
||||
on:
|
||||
pull_requests:
|
||||
branches:
|
||||
- releases
|
||||
jobs:
|
||||
build:
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Open Web Client Folder
|
||||
run: cd ./client
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
- name: Install Angular CLI
|
||||
run: npm install -g @angular/cli
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Build Angular project
|
||||
run: ng build ${{ inputs.project_name }}
|
||||
- name: Upload package to Github
|
||||
run: |
|
||||
npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
|
||||
npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue