Run Monitor TypeScript job on trunk branch (https://github.com/woocommerce/woocommerce-blocks/pull/7571)
* run job on trunk branch * bot: update checkstyle.xml * try now * try now * remove logging Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
fa1e644b81
commit
a79bfba32c
|
@ -15,6 +15,7 @@ const runner = async () => {
|
||||||
const fileName = getInput( 'compare', {
|
const fileName = getInput( 'compare', {
|
||||||
required: true,
|
required: true,
|
||||||
} );
|
} );
|
||||||
|
|
||||||
const newCheckStyleFile = fs.readFileSync( fileName );
|
const newCheckStyleFile = fs.readFileSync( fileName );
|
||||||
const newCheckStyleFileParsed = parseXml( newCheckStyleFile );
|
const newCheckStyleFileParsed = parseXml( newCheckStyleFile );
|
||||||
const currentCheckStyleFile = await getFileContent( {
|
const currentCheckStyleFile = await getFileContent( {
|
||||||
|
|
|
@ -35,6 +35,10 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
npm run ts:log-errors
|
npm run ts:log-errors
|
||||||
|
|
||||||
|
- name: Get branch name
|
||||||
|
id: branch-name
|
||||||
|
uses: tj-actions/branch-names@v6
|
||||||
|
|
||||||
- name: Monitor TypeScript errors
|
- name: Monitor TypeScript errors
|
||||||
uses: ./.github/monitor-typescript-errors
|
uses: ./.github/monitor-typescript-errors
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue