Skip to content

implement dup instructions #46

implement dup instructions

implement dup instructions #46

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.0.0
- name: Cache npm directory
uses: actions/cache@v3
with:
# CIでキャッシュするディレクトリやファイルのパス
path: ~/.npm
# キャッシュを保存・復元する際のキー
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
# キーで指定したキャッシュがヒットしなかった際に代理として使用されるキー
restore-keys: ${{ runner.os }}-npm-
- name: Install node modules
run: npm ci
- name: Build
run: npm run build