Bump postcss from 8.2.15 to 8.4.31 #54
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: | |
push: | |
pull_request: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-18.04 | |
strategy: | |
matrix: | |
node-version: [12.14.1] | |
steps: | |
- name: Check for GIT_API_KEY | |
id: check_token | |
run: echo ::set-output name=token_exists::${HAS_SECRET} | |
env: | |
HAS_SECRET: ${{ secrets.GIT_API_KEY != null }} | |
- name: Checkout (with GIT_API_KEY) | |
if: ${{ steps.check_token.outputs.token_exists == 'true' }} | |
uses: actions/checkout@f90c7b395dac7c5a277c1a6d93d5057c1cddb74e | |
with: | |
token: ${{ secrets.GIT_API_KEY }} | |
- name: Checkout (with GitHub Token) | |
if: ${{ steps.check_token.outputs.token_exists == 'false' }} | |
uses: actions/checkout@f90c7b395dac7c5a277c1a6d93d5057c1cddb74e | |
with: | |
token: ${{ github.token }} | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@c6fd00ceb9747fb23ffdf72987450a2664414867 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Update | |
run: | | |
yarn install && yarn upgrade && npx [email protected] -s -k && rm -rf yarn.lock && yarn install | |
- name: Install | |
run: | | |
yarn --frozen-lockfile | |
- name: Lint | |
run: | | |
yarn lint | |
- name: Audit | |
run: | | |
yarn audit | |
- name: Get Protected Status | |
if: github.event_name == 'push' | |
id: protected_step | |
run: | | |
PROTECTED=$(curl "https://api.github.com/repos/${{ github.repository }}/branches/${GITHUB_REF#refs/*/}" 2>/dev/null | jq -r '.protected') | |
echo ::set-output name=protected::$PROTECTED | |
- name: Commit/Push | |
if: github.event_name == 'push' && steps.protected_step.outputs.protected == 'false' | |
run: | | |
git config --global user.name 'Block.one DevOps' | |
git config --global user.email '[email protected]' | |
git commit package.json yarn.lock -m "Updating package.json and yarn.lock" || echo "Nothing to commit" | |
git push origin ${GITHUB_REF#refs/*/} | |
- name: Install Cypress | |
run: | | |
yarn add --dev cypress | |
- name: Test | |
uses: cypress-io/github-action@6e9b583c9652e99b72b042a3957980fc6166efae | |
with: | |
spec: cypress/integration/index.spec.js | |
start: yarn serve | |
wait-on: http://localhost:8080 | |
services: | |
nodeos: | |
image: eosio/eosjs-ci:release_22.0.x | |
ports: | |
- 8888:8888 | |
- 9876:9876 |