From d85f6ed0a18b284438274f9e12d96981b1ee092b Mon Sep 17 00:00:00 2001 From: Kev Quirk Date: Thu, 11 Nov 2021 14:56:02 +0000 Subject: [PATCH] Added NPM publish action [skip netlify] --- .github/workflows/npm-publish.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..93e7852 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,17 @@ +name: NPM Publish + +on: push + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 10 + - run: npm install + - run: npm test + - uses: JS-DevTools/npm-publish@v1 + with: + token: ${{ secrets.NPM_TOKEN }}