Add support to Node20 #225
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: [ 18, 20 ] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: | | |
yarn | |
yarn build:once | |
yarn test:once | |
yarn lint | |
yarn format:preview |