Skip to content

fix: add funding

fix: add funding #2

Workflow file for this run

name: Build & Release
on:
push:
branches: [main, alpha, beta, rc]
pull_request:
branches: [main]
types: [opened, synchronize, closed]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run lint πŸ”
run: yarn lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x, 18.x ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- name: Run build
run: yarn tsc --build
- name: Run lint πŸ”
run: yarn test --since origin/main
release:
runs-on: ubuntu-latest
needs: [ test, build, lint ]

Check failure on line 53 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 53, Col: 20): Job 'release' depends on unknown job 'build'.
if: ${{ github.event_name != 'pull_request' && (contains(github.ref, 'main') || contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc')) }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install dependencies πŸš€
run: yarn install --immutable --network-timeout 500000
- run: yarn build
- name: Release packages πŸ”–
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: yarn release
- uses: actions/upload-artifact@v2
with:
name: packages
path: |
package.json
packages/*/package.json