2021-09-24 13:07:06 +00:00
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name : Node.js CI
on :
push :
2022-01-06 13:44:13 +00:00
branches : [ next]
2021-09-24 13:07:06 +00:00
pull_request :
2022-01-06 13:44:13 +00:00
branches : [ next]
2021-09-24 13:07:06 +00:00
jobs :
build :
runs-on : ubuntu-latest
strategy :
matrix :
2023-11-21 01:38:09 +00:00
node-version : [ 18. x]
2021-09-24 13:07:06 +00:00
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps :
2022-08-26 13:46:35 +00:00
- uses : actions/checkout@v3
2022-01-06 13:44:13 +00:00
- name : Use Node.js ${{ matrix.node-version }}
2022-08-26 13:46:35 +00:00
uses : actions/setup-node@v3
2022-01-06 13:44:13 +00:00
with :
node-version : ${{ matrix.node-version }}
cache : 'npm'
2023-11-17 19:25:56 +00:00
- run : npx playwright install --with-deps
2022-01-06 13:44:13 +00:00
- run : npm ci
- run : npm run verify