From 907341a803340b885d222f6be87bd3c9f55fe418 Mon Sep 17 00:00:00 2001 From: Ema Suriano Date: Tue, 7 Nov 2023 23:16:15 +0100 Subject: [PATCH] Create pull-request.yml --- .github/workflows/pull-request.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..d97c269 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,22 @@ +name: pull-request + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + + - run: yarn install --frozen-lockfile + + - run: yarn check-types + - run: yarn build + env: + ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}} + SPACE_ID: ${{secrets.SPACE_ID}}