In workflow, update default branch to main, use ubuntu-20.04 (#315)

* Update default branch name to `main`

* Use `ubuntu-20.04` for build, until this project upgrades to `pa11y-webservice@5`
This commit is contained in:
Danyal Aytekin
2023-11-12 15:52:09 +00:00
committed by GitHub
parent 5202f59008
commit e55cae4786

View File

@@ -1,19 +1,14 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build and lint name: Build and lint
on: on:
push: push:
branches: # Run actions when code is committed to these branches branches:
- master - main
pull_request: pull_request:
branches: # Run actions when a PR is pushed based on one of these branches
- master
jobs: jobs:
checkout_and_test: checkout_and_test:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
include: include: