From e4ca338ee47ca93fe90de13da80b0350040e62cb Mon Sep 17 00:00:00 2001 From: Sarah Rainbow Date: Thu, 8 Jul 2021 10:38:46 +0100 Subject: [PATCH] create main.yml --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5745d85 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +name: Node.js Package +on: + # release: + # types: [created] + push: + branches: + -github-actions-test +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v2 + with: + node-version: '12.18.4' + registry-url: 'https://registry.npmjs.org' + - run: npm install + - run: npm run publish-dry + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}