summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-03-26 21:31:34 +0300
committerValentin Popov <info@valentineus.link>2020-03-26 21:31:34 +0300
commitf12fa08c4587dc862a17c781cff64ee9f17698bc (patch)
treea3d289abb73e1ff66bf6ef6fab9712a174d6a088 /.github/workflows
parent4431cd50b1846557e79ef005ff4b7f7c93b4e654 (diff)
downloadeslint-config-f12fa08c4587dc862a17c781cff64ee9f17698bc.tar.xz
eslint-config-f12fa08c4587dc862a17c781cff64ee9f17698bc.zip
fix(actions): Used node action
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish.yml16
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 29001f1..2eb82a2 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -10,13 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: borales/actions-yarn@v2.0.0
+ - uses: actions/setup-node@v1
with:
- cmd: install
- - uses: borales/actions-yarn@v2.0.0
- with:
- cmd: build
- - uses: borales/actions-yarn@v2.0.0
- "auth-token": ${{ secrets.NPM_AUTH_TOKEN }}
- with:
- cmd: publish
+ node-version: '13.x'
+ - run: yarn install
+ - run: yarn run build
+ - run: npm publish
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}