Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Nov 2, 2020
1 parent 86cb5d7 commit 914958b
Show file tree
Hide file tree
Showing 7 changed files with 164 additions and 143 deletions.
10 changes: 10 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.4.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,12 @@ jobs:

- name: Authenticate with Registry
run: |
yarn logout
echo "@soluble:registry=http://registry.npmjs.org/" > .npmrc
echo "registry=http://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Whoami
run: |
- npm whoami
- name: Potentially publish canary to npm
run: |
if \
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/release2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 12.x
uses: actions/setup-node@master
with:
node-version: 12.x

- name: Install Dependencies
run: yarn

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@master
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"prepublish": "lerna run build",
"publish-canary": "lerna version prerelease --preid canary --force-publish",
"publish-stable": "lerna version --force-publish",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "yarn build && changeset publish",
"typecheck": "lerna run typecheck --stream --parallel",
"lint": "lerna run lint --stream",
"fix:staged": "lerna run fix:staged",
Expand All @@ -28,7 +31,7 @@
"deps:check": "npx npm-check-updates@^9.1 && lerna exec -- yarn deps:check",
"deps:update": "npx npm-check-updates@9.1 -u && lerna exec -- yarn deps:update"
},
"devDependencies": {
"dependencies": {
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.11.2",
"@types/jest": "^26.0.15",
Expand Down
7 changes: 7 additions & 0 deletions packages/cache-interop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @soluble/cache-interop

## 0.0.5

### Patch Changes

- testing
2 changes: 1 addition & 1 deletion packages/cache-interop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@soluble/cache-interop",
"description": "Async cache interop contracts",
"version": "0.0.5-canary.1",
"version": "0.0.5",
"license": "MIT",
"homepage": "https://github.com/soluble-io/tci",
"repository": "https://github.com/soluble-io/tci",
Expand Down
Loading

0 comments on commit 914958b

Please sign in to comment.