Skip to content

Commit

Permalink
feat(Semantic Release): Semantic Release to NPM registry
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswienecke committed Apr 5, 2023
1 parent c91474f commit 3231866
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: Semantic Release CI

on:
push:
Expand All @@ -10,15 +10,11 @@ env:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: [18.x]
cache: "npm"
- run: npm ci
- run: npm run build
Expand Down
22 changes: 13 additions & 9 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
branches:
- main
debug: true
ci: true
dryRun: false
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"
{
"branches": ["main"],
"debug": true,
"ci": true,
"dryRun": false,
"plugins":
[
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
["@semantic-release/npm", { "npmPublish": false, "tarballDir": "dist" }],
],
}

0 comments on commit 3231866

Please sign in to comment.