Skip to content

build: add extra test for Node 20, update windows tests (#478) #160

build: add extra test for Node 20, update windows tests (#478)

build: add extra test for Node 20, update windows tests (#478) #160

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.
on:
push:
branches:
- main
name: build-action
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: build
run: |-
set -e
npm ci
npm run compile
pushd action
npm ci
npm run package
- name: open-pull-request
uses: googleapis/code-suggester@bdc0d58d4f62704eaf3d83e2be2255a5d8a41cee # v4
env:
ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
with:
command: pr
upstream_owner: googleapis
upstream_repo: code-suggester
description: 'Compiles the code-suggester action dist'
title: 'build(action): build dist'
message: 'build(action): build dist'
branch: build-dist
primary: main
fork: true
force: true
git_dir: './action/dist'