Skip to content

Bump fp-ts from 2.16.0 to 2.16.2 #112

Bump fp-ts from 2.16.0 to 2.16.2

Bump fp-ts from 2.16.0 to 2.16.2 #112

Workflow file for this run

name: Code Review
on:
pull_request:
types: [opened, synchronize]
branches-ignore:
- main
concurrency:
group: ${{ github.head_ref }}-pr
cancel-in-progress: true
env:
NODE_VERSION: '18'
jobs:
init:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: cache
uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
lint:
runs-on: ubuntu-latest
needs: [init]
permissions: write-all
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
- uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_extensions: ts
prettier: true
prettier_extensions: ts,json,js,yml
auto_fix: true
commit_message: 'chore(lint): Fix code style issues with ${linter}'
github_token: ${{ secrets.GITHUB_TOKEN }}
git_email: '[email protected]'
build:
runs-on: ubuntu-latest
needs: [init]
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm run ci:build
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx auto shipit -d
test:
runs-on: ubuntu-latest
needs: [init]
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- if: ${{ github.actor != 'dependabot[bot]' }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
coverageLocations: coverage/lcov.info:lcov
coverageCommand: npm run ci:test
- if: ${{ github.actor == 'dependabot[bot]' }}
run: npm run ci:test
test-e2e:
runs-on: ubuntu-latest
needs: [init]
timeout-minutes: 3
permissions: write-all
env:
CHARTMUSEUM_BASE_URL: http://localhost:8080
services:
# Label used to access the service container
chartmuseum:
# Docker Hub image
image: ghcr.io/helm/chartmuseum:v0.16.0
# Set health checks to wait until redis has started
ports:
- 8080:8080
env:
DEBUG: 1
STORAGE: 'local'
STORAGE_LOCAL_ROOTDIR: '/tmp/charts'
PORT: 8080
steps:
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
# e2e dependencies
- name: Setup Helm
uses: azure/setup-helm@v3
- name: Setup helm-docs
run: |
wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.deb
sudo dpkg -i helm-docs_1.11.0_Linux_x86_64.deb
rm helm-docs_1.11.0_Linux_x86_64.deb
- name: Setup Helm Push Plugin
run: helm plugin install https://github.com/chartmuseum/helm-push
- name: Add Chartmuseum repo
run: helm repo add local $CHARTMUSEUM_BASE_URL
- env:
HELM_PLUGIN_ENABLE_CANARY: true
HELM_PLUGIN_PUSH: true
HELM_PLUGIN_REPOSITORY: '@local'
HELM_PLUGIN_PUBLISH_REPOSITORY: local
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run ci:test:e2e