Skip to content

Commit

Permalink
simplyfing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro authored Mar 5, 2021
1 parent cbd8cf2 commit 95dd8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- run: yarn ci
- run: yarn test

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -29,7 +18,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn ci
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand All @@ -44,7 +33,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: yarn install
- run: yarn ci
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"/src"
],
"scripts": {
"test": "echo 'OK'",
"ci": "yarn build",
"gh-pages": "git checkout master && git pull && git checkout gh-pages && git reset --hard master && git push -f origin gh-pages && git checkout master",
"build:declaration": "rm -rf ./dist/types && tsc --outDir ./dist/types --declaration && rm -rf ./dist/types/*.js",
"build": "yarn build:declaration && NODE_ENV=production rollup -c",
Expand Down

0 comments on commit 95dd8d1

Please sign in to comment.