Skip to content

feat: optimize actions #40

feat: optimize actions

feat: optimize actions #40

Workflow file for this run

name: 'Build and test program'
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/anchor-install
- uses: ./.github/actions/npm-install
- run: anchor build
shell: bash
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/npm-install
- uses: ./.github/actions/anchor-install
- run: anchor build
shell: bash
- name: Run Tests
run: pnpm run test
shell: bash