Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hold Services in Object instead of an Array #10

Merged
merged 4 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions .github/workflows/publish.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
name: NPM Package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: install dependencies
run: npm ci

- name: test
run: npm run test

- name: build
run: npm run build

- name: set version
if: github.event_name == 'release'
run: npm --no-git-tag-version version ${GITHUB_REF#refs/*/}

- name: publish to npmjs.com
if: github.event_name == 'release'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: sonar scanner
run: npm run sonar -- -Dsonar.login=${{ secrets.SONAR_AUTH_TOKEN }}
Loading