Skip to content

Merge pull request #101 from flagship-io/fix/flagsStatus #162

Merge pull request #101 from flagship-io/fix/flagsStatus

Merge pull request #101 from flagship-io/fix/flagsStatus #162

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- name: Enable Corepack
run: corepack enable
- name: Set Yarn Version
run: corepack prepare yarn@4.9.0 --activate
- name: Install modules
run: yarn install
- name: Run tests
run: npm run test -- --coverage --watchAll=false
- name: Upload codecov report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/clover.xml
flags: unittests
fail_ci_if_error: true