Skip to content

Release Candidate for 1.0.0 #20

Release Candidate for 1.0.0

Release Candidate for 1.0.0 #20

Workflow file for this run

name: CI
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Load Node.js latest
uses: actions/[email protected]
with:
node-version: '20.x'
- name: Load cached modules
uses: actions/cache/[email protected]
with:
path: |
**/node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install all dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
build:
name: build
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '20.x'
- uses: actions/[email protected]
with:
path: |
**/node_modules
**/lib
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- run: npm run build
test:
name: test
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '20.x'
- uses: actions/cache/[email protected]
with:
path: |
**/node_modules
**/lib
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Test
run: npm run test:nobuild