feat: add version package to securely import the CDF version number into service code #200
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: | |
branches: | |
- main | |
- '**' | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Rush | |
shell: bash | |
run: | | |
npm install -g @microsoft/rush | |
- name: Install dependencies | |
shell: bash | |
run: | | |
yarn install | |
- name: Build packages | |
shell: bash | |
run: | | |
yarn build | |
- name: Run unit tests | |
shell: bash | |
run: | | |
yarn test |