Skip to content

Yarn 4 instructions #193

Yarn 4 instructions

Yarn 4 instructions #193

Workflow file for this run

name: Build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: mskelton/setup-yarn@v1
- run: yarn lint
- run: yarn ts
# Build the bundle since tests rely on the bundled output
- run: yarn build
- run: yarn test
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: mskelton/setup-yarn@v1
with:
ref: ${{ github.head_ref }}
- run: yarn build
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4.14.1
with:
commit_message: Update plugin artifact
file_pattern: bundles/*.js
branch: ${{ github.head_ref }}