Skip to content

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

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

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

Workflow file for this run

name: Continuous Deployment Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
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'
- 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:
CD_IDATT2105_Frontend_TOKEN: ${{ secrets.CD_IDATT2105_Frontend }}