Skip to content

Feat : injection of variable #5

Feat : injection of variable

Feat : injection of variable #5

Workflow file for this run

name: Unit Test
on:
pull_request:
branches: ['master']
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup .npmrc
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
scope: '@lv00'
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: bun install
- name: Test
run: bun test