Create packageWorkflow.yml

This commit is contained in:
jjoseph18 2023-01-03 16:11:26 -05:00 committed by GitHub
parent e7c460121e
commit 50aa517bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
.github/workflows/packageWorkflow.yml vendored Normal file
View 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/