Update dependency @types/node to v20 #710
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
jobs: | |
test-and-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
- 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 }}" | |
nix_fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v23 | |
- run: nix fmt -- --check flake.nix |