routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
This document explains how to perform the project's maintenance tasks.
|
||||
|
||||
### Creating a new release
|
||||
|
||||
Anyone with write access to the repository can request a new release. To do so, follow these steps:
|
||||
|
||||
1. Run `npm version <patch|minor|major>` locally to bump the version number and create a new commit / tag.
|
||||
2. Push the commit and tag to the repository by running `git push --follow-tags`.
|
||||
3. The release will be automatically published to npm by GitHub Actions once approved by an administrator.
|
||||
4. Go to <https://github.com/vuejs/tsconfig/releases/new> and create a new release with the tag that was just created. Describe the notable changes in the release notes.
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
jobs:
|
||||
release:
|
||||
# Use Publish environment for deployment protection
|
||||
environment: Publish
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
# Ensure npm 11.5.1 or later is installed
|
||||
- name: Update npm
|
||||
run: npm install -g npm@latest
|
||||
- run: npm publish
|
||||
Reference in New Issue
Block a user