feat: Add support for hooks. #1466
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: store/node-server-sdk-redis | |
on: | |
push: | |
branches: [main, 'feat/**'] | |
paths-ignore: | |
- '**.md' #Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [main, 'feat/**'] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-test-node-redis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
registry-url: 'https://registry.npmjs.org' | |
# We may want to consider moving this build to a docker container instead of installing it | |
# in the image. | |
- run: | | |
sudo apt-get update | |
sudo apt-get install redis-server | |
sudo service redis-server start | |
- id: shared | |
name: Shared CI Steps | |
uses: ./actions/ci | |
with: | |
workspace_name: '@launchdarkly/node-server-sdk-redis' | |
workspace_path: packages/store/node-server-sdk-redis |