chore(): pin webpack ^5.91.0 dev #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'main' | |
on: | |
push: | |
branches: | |
- '*' | |
paths: | |
- '.github/workflows/main.yaml' | |
- '.github/RELEASE_DRAFT*' | |
- '.github/workflow-generator.yml' | |
- 'package.json' | |
- 'src/**' | |
- 'tests/*' | |
- 'tsconfig.json' | |
- 'tslint.json' | |
pull_request: | |
paths: | |
- '.github/workflows/main.yaml' | |
- '.github/RELEASE_DRAFT*' | |
- '.github/workflow-generator.yml' | |
- 'package.json' | |
- 'src/**' | |
- 'tests/*' | |
- 'tsconfig.json' | |
- 'tslint.json' | |
jobs: | |
unit_test: | |
name: unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v1.2.0 | |
- name: Lint code | |
run: yarn lint | |
- name: Test code | |
run: yarn test | |
integration_test: | |
if: github.ref == 'refs/heads/main' | |
name: integration test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v1.2.0 | |
- uses: vmware-tanzu/carvel-setup-action@v1 | |
with: | |
only: ytt | |
- name: Generate Workflow | |
uses: darioblanco/workflow-generator@main | |
with: | |
token: ${{ github.token }} | |
- name: Create Release | |
uses: darioblanco/release-wizard@main | |
with: | |
templatePath: RELEASE_DRAFT/default.md | |
token: ${{ github.token }} | |
withV: true |