chore(deps): bump ruby/setup-ruby from 1.203.0 to 1.204.0 in the dependencies group #1582
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: GitHub Actions CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/[email protected] | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf | |
- name: Get NodeJS version | |
run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_OUTPUT | |
id: node_version | |
- name: Set up NodeJS | |
uses: actions/[email protected] | |
with: | |
node-version: "${{ steps.node_version.outputs.NODE_VERSION }}" | |
- name: Bootstrap | |
run: script/bootstrap | |
- name: Check for uncommitted or incorrect NodeJS modules | |
run: | | |
git diff --stat --exit-code node_modules || { | |
echo '\n\nError: you must commit all NodeJS modules!' | |
exit 1 | |
} | |
grep -qr alt-h0 node_modules || { | |
echo 'Error: Primer NodeJS modules must contain alt-h0!' | |
exit 1 | |
} | |
- name: Run tests | |
run: script/test |