Skip to content

build(deps): Bump the all group across 1 directory with 4 updates #972

build(deps): Bump the all group across 1 directory with 4 updates

build(deps): Bump the all group across 1 directory with 4 updates #972

Workflow file for this run

# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Run tests
on:
push:
branches:
- main
- work
pull_request:
branches:
- main
jobs:
build:
name: build and test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Cache build
id: cache-build
uses: actions/cache@v4
with:
key: build-${{ hashFiles('pnpm-lock.json', 'build-wasm.sh') }}
path: src/deps
- name: install
run: pnpm install
- name: lint
run: pnpm lint
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
id: setup-chrome
- name: Unit Tests
run: CHROMIUM_BIN=$(which chrome) pnpm run unittest
- name: Automation Tests
run: CHROMIUM_BIN=$(which chrome) pnpm run test
- name: 'Upload test report'
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: test-report
path: tests/report/*
retention-days: 5