Skip to content

build(deps): bump js-yaml from 4.1.0 to 4.1.1 (#62) #28

build(deps): bump js-yaml from 4.1.0 to 4.1.1 (#62)

build(deps): bump js-yaml from 4.1.0 to 4.1.1 (#62) #28

name: Continuous Delivery
on:
push:
branches:
- main
permissions:
contents: write
packages: write
id-token: write
jobs:
Publish:
name: Publish Next
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
uses: sapphiredev/.github/actions/install-yarn-dependencies@main
with:
node-version: 20
- name: Bump version
run: yarn bump --preid "next.$(git rev-parse --verify --short HEAD)" --skip-changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to NPM
run: |
yarn config set npmAuthToken ${NODE_AUTH_TOKEN}
yarn config set npmPublishRegistry "https://registry.yarnpkg.com"
yarn npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}