Skip to content

feat(solidr-front-next): introduction #148

feat(solidr-front-next): introduction

feat(solidr-front-next): introduction #148

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Dev Continuous integration
env:
VERCEL_ORG_ID: '${{ secrets.VERCEL_ORG_ID }}'
VERCEL_PROJECT_ID: '${{ secrets.VERCEL_PROJECT_ID }}'
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: tchambard/solana-test-validator:solana_1.18.16-anchor_0.30.1
options: --user root
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Yarn cache
uses: Andrews-McMeel-Universal/cache-yarn-install@v1
with:
enable-corepack: true
cache-node-modules: true
cache-install-state: true
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
packages/programs/solidr-program
- name: Init solana-test-validator-docker tool
run: |
echo "{\"imageName\": \"tchambard/solana-test-validator:latest\", \"containerName\": \"solana-test-validator\", \"bypassLocalExe\": true }" >> .solrc
- name: Lint
run: |
yarn run lint-all
- name: Compile
run: |
yarn run compile-all
- name: Test
run: |
yarn run test-all