From 19f4346009d518c2b434493e1029e51cc24c95f0 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Sun, 10 Oct 2021 20:42:33 -0400 Subject: [PATCH] cleanup --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ .npmrc | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 .npmrc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..cedaed7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: [ '*' ] + pull_request: + branches: [ '*' ] + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + env: + LINGDOCS_NPM_TOKEN: ${{ secrets.LINGDOCS_NPM_TOKEN }} + LINGDOCS_DICTIONARY_URL: ${{ secrets.LINGDOCS_DICTIONARY_URL }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: yarn install + - run: yarn build diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..b6e362c --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +@lingdocs:registry=https://npm.lingdocs.com +//npm.lingdocs.com/:_authToken=${LINGDOCS_NPM_TOKEN}