Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Merge pull request #24 from cybozu/renovate/devdependencies-for-npm #87

Merge pull request #24 from cybozu/renovate/devdependencies-for-npm

Merge pull request #24 from cybozu/renovate/devdependencies-for-npm #87

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Node modules
run: npm ci
- name: Run test
run: npm test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Node modules
run: npm ci
- name: Run lint
run: npm run lint
package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Node modules
run: npm ci
- name: Run package
run: npm run package
- name: Check for differences in compilation results
run: |
git update-index --refresh
git diff-index --quiet HEAD --