Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
chore : update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Seolhun committed Mar 25, 2021
1 parent 46b2ddc commit 54228f6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 60 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Git Identity
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install
run: npm ci
env:
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/deploy-prod.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
registry-url: https://npm.pkg.github.com/
scope: '@seolhun'

- name: Install
run: npm ci
Expand All @@ -38,7 +39,7 @@ jobs:
run: npm run build --if-present

- name: Publish package
run: npm run release -y
run: npm run release
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "lerna run test",
"bs": "lerna bootstrap --force-local",
"version": "lerna version --yes",
"release": "lerna publish from-package --yes",
"release": "lerna publish from-git --yes",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'",
Expand Down

0 comments on commit 54228f6

Please sign in to comment.