Skip to content

Commit

Permalink
Merge pull request #175 from hCaptcha/vladimirjk/fix/freeze-node-ver
Browse files Browse the repository at this point in the history
fix(ci): freeze node version for actions
  • Loading branch information
vladimirjk authored Mar 29, 2023
2 parents ed0f9ce + 5672de6 commit 21458d4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm ci
- run: npm run transpile
- run: npm run test
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

- uses: actions/setup-node@v3
with:
node-version: '18.x'

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run transpile
- run: npm run test
Expand Down

0 comments on commit 21458d4

Please sign in to comment.