Skip to content

[DEV-72] chore: pin GitHub Actions to commit SHAs (#256) #152

[DEV-72] chore: pin GitHub Actions to commit SHAs (#256)

[DEV-72] chore: pin GitHub Actions to commit SHAs (#256) #152

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run check-format
- run: npm run lint
- run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5
with:
files: packages/mixpanel/coverage/coverage-final.json,packages/openfeature-server-provider/coverage/coverage-final.json