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

refacotr/Automated Version Bump when deploying cd-pipeline.yml #42

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bf99a86
refacotr/Automated Version Bump when deploying cd-pipeline.yml
Apr 4, 2024
d885188
refactor/Now use PAT for publishing
Apr 4, 2024
7733e5d
ci: version bump to 1.0.1
gh-action-bump-version Apr 4, 2024
86f69a5
ci: version bump to 1.0.2
gh-action-bump-version Apr 4, 2024
b5de35a
ci: version bump to 1.0.3
gh-action-bump-version Apr 4, 2024
cefd416
ci: version bump to 1.0.4
gh-action-bump-version Apr 4, 2024
e63ddd1
ci: version bump to 1.0.5
gh-action-bump-version Apr 4, 2024
548b609
ci: version bump to 1.0.6
gh-action-bump-version Apr 4, 2024
0c4498c
Updated cd-pipeline.yml
Apr 4, 2024
4597913
Updated cd-pipeline.yml
Apr 4, 2024
e924bec
Updated cd-pipeline.yml
Apr 4, 2024
6438cad
Updated cd-pipeline.yml
Apr 4, 2024
32e582f
Updated package.json
Apr 4, 2024
6366ccc
Updated package.json
Apr 4, 2024
6214edd
Updated cd-pipeline.yml
Apr 4, 2024
3fc8fa7
ci: version bump to 1.0.17
gh-action-bump-version Apr 4, 2024
4ed3185
ci: version bump to 0.0.2
gh-action-bump-version Apr 4, 2024
7867cc7
ci: version bump to 1.0.18
gh-action-bump-version Apr 4, 2024
afe7355
ci: version bump to 0.0.3
gh-action-bump-version Apr 4, 2024
000543a
ci: version bump to 1.0.19
gh-action-bump-version Apr 4, 2024
cb4aa69
ci: version bump to 0.0.4
gh-action-bump-version Apr 4, 2024
518ebe2
ci: version bump to 0.0.5
gh-action-bump-version Apr 4, 2024
d7570f7
ci: version bump to 0.0.6
gh-action-bump-version Apr 4, 2024
167ddbc
ci: version bump to 0.0.7
gh-action-bump-version Apr 4, 2024
1ad2482
ci: version bump to 0.0.8
gh-action-bump-version Apr 4, 2024
050631b
ci: version bump to 0.0.9
gh-action-bump-version Apr 4, 2024
c9cc0d3
ci: version bump to 0.0.10
gh-action-bump-version Apr 4, 2024
9169918
ci: version bump to 0.0.11
gh-action-bump-version Apr 4, 2024
962eb8b
ci: version bump to 0.0.12
gh-action-bump-version Apr 4, 2024
f5fd0a5
ci: version bump to 0.0.13
gh-action-bump-version Apr 4, 2024
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
25 changes: 16 additions & 9 deletions .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
name: Continuous Deployment Pipeline

on:
push:
branches: [ main ]
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.CD_IDATT2105_Frontend }}

- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@heikkkk'
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@heikkkk'

- name: Automated Version Bump
uses: 'phips28/gh-action-bump-version@master'
env:
CD_IDATT2105_Frontend_TOKEN: ${{ secrets.CD_IDATT2105_Frontend }}

- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CD_IDATT2105_Frontend_TOKEN: ${{ secrets.CD_IDATT2105_Frontend }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heikkkk/idatt2105-semester-project-frontend",
"version": "1.0.0",
"version": "0.0.13",
"repository": {
"type": "git",
"url": "git://github.com/heikkkk/IDATT2105-Semester-Project-Frontend.git"
Expand Down
Loading