Skip to content

chore(hashicorp-vault): Remove unused config.hcl #5

chore(hashicorp-vault): Remove unused config.hcl

chore(hashicorp-vault): Remove unused config.hcl #5

Workflow file for this run

name: Continuous Integration
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- master
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_BRANCH: ${{ github.head_ref }}
BASE: ${{ github.base_ref || github.event.repository.default_branch}}
jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Nx set sha
uses: nrwl/nx-set-shas@v4
with:
main-branch-name: ${{ env.BASE }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "npm"
cache-dependency-path: "package-lock.json"
- name: Install dependencies
run: npm ci
- name: Lint
run: npx nx affected --target=lint --parallel
continue-on-error: true # we will open a PR for fixing lint errors
- name: Build
run: npx nx affected --target=build --parallel
- name: Test
run: npx nx affected --target=test --parallel
continue-on-error: true # we will open a PR for fixing test errors
nx:
name: Nx
needs: ci
uses: ./.github/workflows/nx.template.yaml
with:
nx-head: ${{ github.head_ref && format('refs/pull/{0}/merge', github.event.number) || github.ref_name }}
nx-base: ${{ github.base_ref || inputs.nx-base || github.event.repository.default_branch }}
publish:
name: Publish
needs: nx
if: ${{ needs.nx.outputs.affected-plugins != '[]' && needs.nx.outputs.affected-plugins != '' }}
uses: ./.github/workflows/publish.template.yaml
strategy:
matrix:
affected-plugin: ${{ fromJson(needs.nx.outputs.affected-plugins) }}
with:
affected-plugin: ${{ matrix.affected-plugin }}
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}