January 2024 Small Fixes #96
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: Node.js CI | |
on: [pull_request] | |
jobs: | |
test-lambda-function: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.x | |
- name: Install packages | |
# the IBI Group TSDX fork has some dependency issues | |
# that cause yarn install to fail on a ci runner. Disabling | |
# concurrency allows installation to complete successfully | |
run: yarn install --network-concurrency 1 | |
- name: Lint code | |
run: yarn lint | |
- name: Test code | |
run: yarn test | |
- name: Build code | |
run: yarn build | |
- name: Semantic Release | |
if: github.event_name == 'push' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: yarn semantic-release |