Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
- name: "install deps and build"
run: yarn install --frozen-lockfile
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
name: Build and Release to npm
on:
push:
branches:
- 'master'

# Cancel any previous run (see: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn'
- id: main
run: |
yarn install --frozen-lockfile
yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .node-version
Comment thread
v1rtl marked this conversation as resolved.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
18.16.0
3 changes: 3 additions & 0 deletions .releaserc.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
{
"branches": ["master"]
}
6 changes: 4 additions & 2 deletions package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@react-three/postprocessing",
"version": "2.9.1",
"version": "0.0.0-semantic-release",
"description": "postprocessing wrapper for React and @react-three/fiber",
"keywords": [
"postprocessing",
Expand DownExpand Up@@ -41,7 +41,8 @@
"eslint:ci": "eslint . --ext=js,ts,jsx,tsx",
"test": "echo no tests yet",
"typecheck": "tsc --noEmit --emitDeclarationOnly false --strict --jsx react",
"typegen": "tsc --emitDeclarationOnly || true"
"typegen": "tsc --emitDeclarationOnly || true",
"release": "semantic-release"
},
"dependencies": {
"postprocessing": "^6.30.2",
Expand DownExpand Up@@ -73,6 +74,7 @@
"rimraf": "^5.0.0",
"rollup": "^3.21.0",
"rollup-plugin-filesize": "^10.0.0",
"semantic-release": "^21.0.2",
"three": "^0.151.3",
"typescript": "^5.0.4"
},
Expand Down
Loading