Skip to content

Merge pull request #47 from iChebbi/upgrade-to-node-20 #61

Merge pull request #47 from iChebbi/upgrade-to-node-20

Merge pull request #47 from iChebbi/upgrade-to-node-20 #61

Workflow file for this run

name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- "releases/*"
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
npm ci
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: build
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Fail if build did not succeed
if: steps.wait-for-build.outputs.conclusion != 'success'
run: exit 1