Skip to content

Commit

Permalink
feat: added release please
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Milfred committed Jan 30, 2024
1 parent 53de797 commit 2cb2e42
Show file tree
Hide file tree
Showing 8 changed files with 9,428 additions and 2,340 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/release-package.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release Please and Publish

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write
packages: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
# The logic below handles the package building:
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 18.18
registry-url: 'https://npm.pkg.github.com'
if: ${{ steps.release.outputs.release_created }}
- run: npm install
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm test
if: ${{ steps.release.outputs.release_created }}
# The logic below handles the package building:
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18
18.18.1
7,102 changes: 7,102 additions & 0 deletions .playground/yarn.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({});
export default defineNuxtConfig({
modules: ['@unocss/nuxt'],
});
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"test": "exit 0"
},
"devDependencies": {
"@limbo-works/lint-configs": "^1.0.2",
"@limbo-works/nuxt-core": "^1.1.1",
"nuxt": "^3.8"
"@limbo-works/lint-configs": "^1.0.3",
"@limbo-works/nuxt-core": "^2.2.2",
"@unocss/nuxt": "^0.58.4",
"nuxt": "^3.10.0"
}
}
13 changes: 13 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
4,553 changes: 2,261 additions & 2,292 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 2cb2e42

Please sign in to comment.