Skip to content

Commit

Permalink
temp: ignore git action
Browse files Browse the repository at this point in the history
  • Loading branch information
wn-na committed Jul 2, 2024
1 parent 194c5de commit 00a1e41
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 72 deletions.
48 changes: 24 additions & 24 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: Setup
description: Setup Node.js and install dependencies
# name: Setup
# description: Setup Node.js and install dependencies

runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
# runs:
# using: composite
# steps:
# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# - name: Cache dependencies
# id: yarn-cache
# uses: actions/cache@v3
# with:
# path: |
# **/node_modules
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-

- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: |
yarn install --cwd example --frozen-lockfile
yarn install --frozen-lockfile
shell: bash
# - name: Install dependencies
# if: steps.yarn-cache.outputs.cache-hit != 'true'
# run: |
# yarn install --cwd example --frozen-lockfile
# yarn install --frozen-lockfile
# shell: bash
96 changes: 48 additions & 48 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Lint files
run: yarn lint

# - name: Typecheck files
# run: yarn typecheck

# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Setup
# uses: ./.github/actions/setup

# - name: Run unit tests
# run: yarn test --maxWorkers=2 --coverage

# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Setup
# uses: ./.github/actions/setup

# - name: Build package
# run: yarn prepack
# name: CI
# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main

# jobs:
# lint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Setup
# uses: ./.github/actions/setup

# - name: Lint files
# run: yarn lint

# # - name: Typecheck files
# # run: yarn typecheck

# # test:
# # runs-on: ubuntu-latest
# # steps:
# # - name: Checkout
# # uses: actions/checkout@v3

# # - name: Setup
# # uses: ./.github/actions/setup

# # - name: Run unit tests
# # run: yarn test --maxWorkers=2 --coverage

# # build:
# # runs-on: ubuntu-latest
# # steps:
# # - name: Checkout
# # uses: actions/checkout@v3

# # - name: Setup
# # uses: ./.github/actions/setup

# # - name: Build package
# # run: yarn prepack

0 comments on commit 00a1e41

Please sign in to comment.