Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

build(deps): bump word-wrap from 1.2.3 to 1.2.5 #282

build(deps): bump word-wrap from 1.2.3 to 1.2.5

build(deps): bump word-wrap from 1.2.3 to 1.2.5 #282

name: Pr Checker with Secrets
on:
pull_request:
branches:
- master
pull_request_target:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if:
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
id: node_version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ steps.node_version.outputs.NODE_VERSION }}
- run: yarn install --frozen-lockfile
- run: yarn build
env:
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
SPACE_ID: ${{secrets.SPACE_ID}}
test:
runs-on: ubuntu-latest
if:
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
id: node_version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ steps.node_version.outputs.NODE_VERSION }}
- run: yarn install --frozen-lockfile
- run: yarn test:ci
env:
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
SPACE_ID: ${{secrets.SPACE_ID}}
PERCY_TOKEN: ${{secrets.PERCY_TOKEN}}