chore(deps-dev): bump gh-pages from 3.1.0 to 5.0.0 #184
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
# # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
# name: Node.js CI | |
# on: | |
# push: | |
# branches: [ master ] | |
# pull_request: | |
# branches: [ master ] | |
# jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [14.x, 12.x] | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - run: npm ci | |
# - run: npm run build --if-present | |
# - run: npm test | |
# env: | |
# CI: true | |
name: Yarn CI 🧪 | |
on: | |
push: | |
# https://github.community/t/github-actions-on-push-not-master/16026/3 | |
# don't run on master - only deploy should run on master | |
branches: | |
- '*' | |
- '!master' | |
pull_request: | |
jobs: | |
build-and-test: | |
name: Build + Test | |
runs-on: ubuntu-latest | |
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
# https://github.com/actions/setup-node/#v2 | |
- name: Use Node.js ✏️ | |
uses: actions/setup-node@v2 | |
with: | |
# It will first check the local cache for a semver match | |
node-version: '14' | |
# GitHub-hosted runners have npm and Yarn dependency managers installed. | |
- name: Install 💿 | |
run: yarn | |
- name: Build 📐 | |
run: yarn build | |
- name: Test 🧪 | |
run: yarn test | |
# - uses: actions/checkout@v2 | |
# - uses: borales/actions-yarn@v2.3.0 | |
# with: | |
# cmd: install # will run `yarn install` command | |
# - uses: borales/actions-yarn@v2.3.0 | |
# with: | |
# cmd: build # will run `yarn build` command | |
# - uses: borales/actions-yarn@v2.3.0 | |
# with: | |
# cmd: test # will run `yarn test` command |