Skip to content

Commit

Permalink
Add changeset action (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwisekind authored Jan 28, 2025
1 parent daa363a commit ff5a2a6
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
pull-requests: write

jobs:
release:
name: Release

runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/[email protected]

- name: Setup Node.js 22
uses: actions/[email protected]
with:
node-version: 22

- name: Create Release Pull Request
uses: changesets/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contributing

- [Pull Requests](#pull-requests)

## Pull Requests

Run `npx changeset` before merging pull-requests.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=CRRU-UK_photo-id-app&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=CRRU-UK_photo-id-app)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=CRRU-UK_photo-id-app&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=CRRU-UK_photo-id-app)

1. [Introduction](#introduction)
2. [Overview](#overview)
3. [Installation](#installation)
4. [Development](#development)
- [Introduction](#introduction)
- [Overview](#overview)
- [Installation](#installation)
- [Development](#development)

## Introduction

Expand Down

0 comments on commit ff5a2a6

Please sign in to comment.