fix: frontend dependencies #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |