Skip to content

Commit

Permalink
chore(ci): update ci
Browse files Browse the repository at this point in the history
chore: x
  • Loading branch information
izayl committed Sep 11, 2022
1 parent e13f6ef commit 773f1ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/changeset.yml
Expand Up @@ -6,6 +6,7 @@ on:
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
version:
timeout-minutes: 15
Expand All @@ -21,10 +22,6 @@ jobs:
node-version: 14
- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: Check NPM User
run: npm whoami
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
Expand All @@ -35,8 +32,9 @@ jobs:
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: 'chore: update versions'
title: 'chore: update versions'
commit: 'chore: release new version'
title: 'chore: release new version'
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .npmrc
@@ -1 +1 @@
//registry.npmjs.org/:_authToken=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

0 comments on commit 773f1ad

Please sign in to comment.