docs: Add extensive OpenShock setup docs #261
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 and Lint code | |
#on: | |
# push: | |
# branches: | |
# - '*' | |
#jobs: | |
# test: | |
# name: Run Tests | |
# runs-on: ubuntu-latest | |
# env: | |
# TZ: "America/Chicago" | |
# steps: | |
# - name: checkout | |
# uses: actions/checkout@v4 | |
# | |
# - name: setup Node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# registry-url: 'https://npm.pkg.github.com' | |
# - name: Cache node modules | |
# id: cache-nodemodules | |
# uses: actions/cache@v3 | |
# env: | |
# cache-name: cache-node-modules | |
# with: | |
# # caching node_modules | |
# path: node_modules | |
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-build-${{ env.cache-name }}- | |
# ${{ runner.os }}-build- | |
# ${{ runner.os }}- | |
# - name: Install Dependencies | |
# if: steps.cache-nodemodules.outputs.cache-hit != 'true' | |
# run: npm ci | |
# - name: Test | |
# run: npm run coverage | |
# - name: Upload coverage reports to Codecov | |
# uses: codecov/codecov-action@v3 | |
# env: | |
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
# | |
# lint: | |
# name: Linting | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: checkout | |
# uses: actions/checkout@v3 | |
# - name: setup Node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# registry-url: 'https://npm.pkg.github.com' | |
# - name: Cache node modules | |
# id: cache-nodemodules | |
# uses: actions/cache@v3 | |
# env: | |
# cache-name: cache-node-modules | |
# with: | |
# # caching node_modules | |
# path: node_modules | |
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-build-${{ env.cache-name }}- | |
# ${{ runner.os }}-build- | |
# ${{ runner.os }}- | |
# - name: Install Dependencies | |
# if: steps.cache-nodemodules.outputs.cache-hit != 'true' | |
# run: npm ci | |
# - name: Run lining | |
# run: npm run lint |