Skip to content

Commit

Permalink
Merge branch 'main' into nikithauc/update-abstractions-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
nikithauc authored Mar 22, 2022
2 parents 9564453 + 87202cc commit d348fdd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/authentication-azure-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/authentication/azure
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
Expand All @@ -24,14 +27,16 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
working-directory: packages/authentication/azure

publish-npm:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build
environment:
name: production_feed
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/authentication/azure
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/http-fetch-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/http/fetch
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
Expand All @@ -24,14 +27,16 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
working-directory: packages/http/fetch


publish-npm:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build
environment:
name: production_feed
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/http/fetch
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/serialization-json-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/serialization/json
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
Expand All @@ -24,14 +27,16 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
working-directory: packages/serialization/json

publish-npm:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build
environment:
name: production_feed
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/serialization/json
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -41,6 +46,5 @@ jobs:
- run: npm ci
- run: npm run build
- run: npm publish --access public
working-directory: packages/serialization/json
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
8 changes: 6 additions & 2 deletions .github/workflows/serialization-text-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/serialization/text
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
Expand All @@ -24,14 +27,16 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
working-directory: packages/serialization/text

publish-npm:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build
environment:
name: production_feed
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/serialization/text
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -41,6 +46,5 @@ jobs:
- run: npm ci
- run: npm run build
- run: npm publish --access public
working-directory: packages/serialization/text
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit d348fdd

Please sign in to comment.