Skip to content

updating ci.yml for using secrets #8

updating ci.yml for using secrets

updating ci.yml for using secrets #8

Workflow file for this run

name: CI Testing
on:
push:
branches:
- main
jobs:
run-ci-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: create env file
run: |
touch .env
echo ENGINE_API_KEY=${{ secrets.ENGINE_API_KEY }} >> .env
- name: Install Dependencies
run: pnpm install
- name: Run Tests
run: pnpm test