fix: snapshot test #17
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 Frontend | |
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 Frontend No Components | |
run: npm run start -- hello-near --frontend next-page | |
- name: Install | |
run: cd hello-near && npm install | |
- name: Create Frontend Components | |
run: npm run start -- hello-components --frontend next-page --components | |
- name: Install | |
run: cd hello-components && npm install |