From 6ac52a9dc5353766b2d73ed49b635678e4f1b48d Mon Sep 17 00:00:00 2001 From: Michal Landsman Date: Wed, 26 Aug 2020 23:46:51 +0200 Subject: [PATCH] code integration test for pull request (#35) --- .github/workflows/pull-request.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..a78a5eb --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,21 @@ +name: pull-request + +on: + pull_request: + branches: + - master + - stage + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: '12.x' + registry-url: 'https://registry.npmjs.org' + - run: npm install + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + - run: npm run build