Skip to content

Merge pull request #100 from flagship-io/v4 #67

Merge pull request #100 from flagship-io/v4

Merge pull request #100 from flagship-io/v4 #67

Workflow file for this run

name: CI
on:
push:
branches: [main, clean-project]
jobs:
build:
runs-on: ubuntu-latest
env:
FS_API_KEY: "${{ secrets.FS_CI_CAMPAIGNS_API_KEY }}"
FS_ENV_ID: "${{ secrets.FS_CI_CAMPAIGNS_ENV_ID }}"
defaults:
run:
working-directory: ./flagship
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install
- run: yarn lint
- run: yarn test --coverage
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repository
- run: yarn build-prod
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: build deno module