Skip to content

Merge branch 'main' of https://github.com/Jalkhov/json-sync #11

Merge branch 'main' of https://github.com/Jalkhov/json-sync

Merge branch 'main' of https://github.com/Jalkhov/json-sync #11

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm install
- name: Install semantic-release plugins
run: npm install @semantic-release/git @semantic-release/changelog -D
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release