Skip to content

feat: add devrel workflow #97

feat: add devrel workflow

feat: add devrel workflow #97

name: Test Contract TS
on: push
env:
NODE_ENV: 'ci'
jobs:
tests:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
node-version: [18, 20, 22]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install modules
run: npm install
- name: Create Contract TS
run: npm run start -- hello-near --frontend none --contract ts
- name: Run tests
run: cd hello-near && npm install && npm run test