Skip to content

Bump postcss from 8.4.18 to 8.4.31 #27

Bump postcss from 8.4.18 to 8.4.31

Bump postcss from 8.4.18 to 8.4.31 #27

Workflow file for this run

name: Build and Test on Netlify
on:
pull_request:
types: [opened, reopened, synchronize]
branches: [prod]
jobs:
build:
runs-on: ubuntu-22.04
outputs:
deploy_url: ${{steps.build_site.outputs.NETLIFY_URL}}
steps:
- name: Checkout Repo Code
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Node Packages
run: npm install
- name: Deploy to Netlify
id: build_site
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: ./_actions/netlify_deploy.sh
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'The build works! You can view the deploy preview at ${{steps.build_site.outputs.NETLIFY_URL}}'
})
test:
needs: [build]
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo Code
uses: actions/checkout@v3
- name: Run A11y Tests
id: a11y
uses: amykapernick/a11y_test_action@prod
with:
url: ${{needs.build.outputs.deploy_url}}
pages: "['/', '/about', '/contact', '/blog']"
- name: Get A11y Results
run: echo ${{steps.a11y.outputs.results}}