Skip to content

fix: dependencies 2023-10-15 #320

fix: dependencies 2023-10-15

fix: dependencies 2023-10-15 #320

Workflow file for this run

name: Main
on:
push:
branches: [ main ]
pull_request:
types: [opened, synchronize]
jobs:
ci:
container: node:18.17.1@sha256:933bcfad91e9052a02bc29eb5aa29033e542afac4174f9524b79066d97b23c24
runs-on: ubuntu-latest
timeout-minutes: 10
env:
GENERATED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'npm'
cache-dependency-path: |
package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Run Test
run: npm run test
- name: Build
run: npm run build
- name: Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/cobertura-coverage.xml
- name: Test github action
uses: ./
with:
token: ${{ secrets.SPECFY_TOKEN }}