Skip to content

fixup! ci: use release-please #2

fixup! ci: use release-please

fixup! ci: use release-please #2

Workflow file for this run

name: Build, Test, Lint
concurrency: deployment
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Setup-Environment:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
ref: ${{ needs.release-please.outputs.release_tag_name }}
- name: Install dependencies
run: yarn install --frozen-lockfile
Build:
runs-on: ubuntu-latest
needs: [Setup-Environment]
steps:
- run: yarn build
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
ref: ${{ needs.release-please.outputs.release_tag_name }}
Test:
runs-on: ubuntu-latest
needs: [ Setup-Environment, Build ]
steps:
- run: yarn test
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
ref: ${{ needs.release-please.outputs.release_tag_name }}
Lint:
runs-on: ubuntu-latest
needs: [ Setup-Environment ]
steps:
- run: |
yarn format:check
yarn lint
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
ref: ${{ needs.release-please.outputs.release_tag_name }}