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

Github Actions Publish Pipeline #9

Merged
merged 2 commits into from
Feb 28, 2024
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: 27 additions & 0 deletions .github/workflows/release_cookie_banner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish cookie-banner
on:
push:
tags: ['v*-cookie-banner']

jobs:
check:
strategy:
fail-fast: true
name: Publish cookie-banner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Publish cookie-banner
working-directory: ./packages/cookie-banner
run: |
yarn install
yarn build
yarn npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
id: publish-cookie-banner
27 changes: 27 additions & 0 deletions .github/workflows/release_cookie_manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish cookie-manager
on:
push:
tags: ['v*-cookie-manager']

jobs:
check:
strategy:
fail-fast: true
name: Publish cookie-manager
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Publish cookie-manager
working-directory: ./packages/cookie-manager
run: |
yarn install
yarn build
yarn npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
id: publish-cookie-manager
Loading