aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/publish.yml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-03-26 21:38:42 +0300
committerGitHub <noreply@github.com>2020-03-26 21:38:42 +0300
commit4aa0bc667bea03259f8bb26dba63795e74a86299 (patch)
treef31989196049dc78a45e29f057a375c202ed8405 /.github/workflows/publish.yml
parent1380e3839788779a3402a0bf4fb1a3ba57c0d162 (diff)
parent2bdf5c87990e7ebcd338f15245ca1e937a361750 (diff)
downloadeslint-config-4aa0bc667bea03259f8bb26dba63795e74a86299.tar.xz
eslint-config-4aa0bc667bea03259f8bb26dba63795e74a86299.zip
Merge pull request #2 from valentineus/developv0.0.14
Develop
Diffstat (limited to '.github/workflows/publish.yml')
-rw-r--r--.github/workflows/publish.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 0000000..a588b42
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,19 @@
+name: Publish
+
+on:
+ create:
+ tags:
+ - v*
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v1
+ with:
+ node-version: '13.x'
+ - run: yarn install
+ - run: yarn run build
+ - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
+ - run: npm publish