Skip to content

Commit

Permalink
Merge branch '6-4-new-types' into feat/conditional-args
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 10, 2022
2 parents 1e215f6 + 794a0bf commit ecfc79e
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'skip release')"
steps:
- uses: actions/checkout@v2

- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn release
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"lodash": "^4.17.15"
},
"devDependencies": {
"@auto-it/released": "^10.37.1",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
Expand All @@ -63,6 +64,12 @@
"prettier": "^1.19.1",
"typescript": "^3.7.2"
},
"auto": {
"plugins": [
"npm",
"released"
]
},
"publishConfig": {
"access": "public"
}
Expand Down
Loading

0 comments on commit ecfc79e

Please sign in to comment.