chore(deps): bump @babel/traverse from 7.12.12 to 7.23.2 #182
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [15.x] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true # Fetch any Git submodules (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install JS dependencies | |
run: rm -rf node_modules && yarn install --frozen-lockfile | |
- name: Check for linting errors | |
run: yarn run lint | |
# format: | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# with: | |
# # Make sure the actual branch is checked out when running on pull requests | |
# ref: ${{ github.head_ref }} | |
# | |
# - name: Prettify code | |
# uses: creyD/[email protected] | |
# with: | |
# prettier_options: '--write wowchemy/*.{css,js,json,md,scss} wowchemy/**/*.{css,js,json,md,scss}' # Match package.json | |
# prettier_version: '2.2.1' # Match package.json | |
# commit_message: 'refactor: format code' | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
hugo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true # Fetch any Git submodules (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: 'latest' | |
extended: true | |
- name: Build | |
run: hugo --minify | |
working-directory: test |