Use ubuntu-latest instead of fixed version #207
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
# Summary: | |
# Test if the GitHub Action builds correctly. | |
# Makes sure the GitHub Action builds when being built by GitHub Actions. | |
# | |
# See https://github.com/actions/checkout https://github.com/actions/checkout/releases/tag/v3 | |
name: 'GitHub Action build test' | |
on: | |
pull_request: | |
push: | |
jobs: | |
run-build-test: | |
strategy: | |
matrix: | |
version: [ 16, 18, 20 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
yarn | |
yarn build:once |