add playwright install step #3
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
# ------------------------------------------------------------------------------ | |
# <auto-generated> | |
# | |
# This code was generated. | |
# | |
# - To turn off auto-generation set: | |
# | |
# [GitHubActions (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_Build_and_test --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: Build_and_test | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/*' | |
paths: | |
- '**/*' | |
- '!**.md' | |
jobs: | |
ubuntu-22_04: | |
name: ubuntu-22_04 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Cache npm packages | |
id: cache-npm | |
uses: actions/cache@v3 | |
with: | |
path: | | |
**/node_modules | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json', '.nvmrc') }} | |
- name: Cache nuget packages | |
id: cache-nuget | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
**/obj/* | |
key: ${{ runner.os }}-nuget_obj-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Build.props') }} | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps chromium | |
- name: 'Run: Test, VerifyStyle' | |
run: ./build.cmd Test VerifyStyle |