Skip to content

chore(changeset): release (#21) #179

chore(changeset): release (#21)

chore(changeset): release (#21) #179

Workflow file for this run

name: Push
on:
push:
branches: [main]
jobs:
Shared:
uses: ./.github/workflows/install-lint.yml
Release:
needs:
- Shared
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/cache@v3
id: cache-node_modules
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Create Release Pull Request
- name: Create Release Pull Request
uses: changesets/action@v1
with:
title: "🦋 Changeset release"
version: npm run version
publish: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}