Skip to content

Update typescript-eslint monorepo to v8 #961

Update typescript-eslint monorepo to v8

Update typescript-eslint monorepo to v8 #961

Workflow file for this run

name: CI
on:
- push
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4.0.3
with:
node-version-file: .node-version
- name: Install dependencies
run: npm ci
- run: npm run all
- name: Ensure the expected and actual dist/ directories are the same
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after `npm run all`. See status below:"
git diff
exit 1
fi
- name: Upload artifacts to captain production
uses: ./
with:
artifacts: |
[
{
"name": "Jest-JUnit",
"path": "./junit.xml",
"kind": "test_results",
"parser": "junit_xml"
}
]
job-matrix: "${{ toJSON(matrix) }}"
captain-token: "${{ secrets.RWX_ACCESS_TOKEN }}"
- name: Upload artifacts to captain staging
uses: ./
with:
artifacts: |
[
{
"name": "Jest-JUnit",
"path": "./junit.xml",
"kind": "test_results",
"parser": "junit_xml"
}
]
job-matrix: "${{ toJSON(matrix) }}"
captain-token: "${{ secrets.RWX_ACCESS_TOKEN_STAGING }}"
captain-base-url: "${{ secrets.VANGUARD_STAGING_BASE_URL }}"