mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
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:
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@@ -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:
|
||||||
|
Reference in New Issue
Block a user