mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Create packageWorkflow.yml
This commit is contained in:
parent
e7c460121e
commit
50aa517bf5
1 changed files with 18 additions and 0 deletions
18
.github/workflows/packageWorkflow.yml
vendored
Normal file
18
.github/workflows/packageWorkflow.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Package Pet Clinic
|
||||
|
||||
on: [push]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: npm install && npm run build
|
||||
- name: Test
|
||||
run: npm test
|
||||
- name: Create Package
|
||||
run: npm pack
|
||||
- name: Publish Package
|
||||
run: npm publish --registry https://npm.pkg.github.com/
|
Loading…
Reference in a new issue