markeng-3696 update primary button color #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@master | |
with: | |
node-version: '14' | |
- name: lint all markdownfiles | |
env: | |
PM_TECH: ${{secrets.PM_TECH}} | |
run: | | |
npm config set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} | |
npm install | |
node_modules/.bin/markdownlint ./ --ignore node_modules | |
- name: check for image url | |
run: | | |
if grep -lri 's3.amazonaws.com/postman-static-getpostman-com' ./src/pages/docs ; | |
then echo "Invalid s3 references found. Please use format 'https://assets.postman.com/postman-docs/[filename-in-s3]'"; | |
exit 1; | |
else echo "no s3 references found"; | |
fi | |
- name: running unit tests | |
env: | |
PM_TECH: ${{secrets.PM_TECH}} | |
run: | | |
npm config set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} | |
npm install | |
npm run clean | |
npm run test:update | |