Test/setup #3
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
# This workflow will do a clean installation of node dependencies, cache/restore them, 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: Node CI | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
# ROOCH_ORACLE_ADDRESS= ${{ secrets.ROOCH_ORACLE_ADDRESS }} | ||
# ROOCH_PRIVATE_KEY= ${{ secrets.ROOCH_PRIVATE_KEY }} | ||
# Temp key to pass .env checks | ||
ROOCH_ORACLE_ADDRESS= 0xf81628c3bf85c3fc628f29a3739365d4428101fbbecca0dcc7e3851f34faea6b | ||
Check failure on line 20 in .github/workflows/node.js.yml GitHub Actions / Node CIInvalid workflow file
|
||
ROOCH_PRIVATE_KEY= 0xf81628c3bf85c3fc628f29a3739365d4428101fbbecca0dcc7e3851f34faea6b | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
steps: | ||
- name: Use Node.js ${{ matrix.node-version }} 🛎️ | ||
uses: actions/checkout@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
persist-credentials: false | ||
- name: Install 🔧 | ||
run: npx yarn install | ||
- name: build | ||
run: npx yarn build |