a
All checks were successful
Build and Deploy docker container / build (push) Successful in 5s

This commit is contained in:
Jonathan Branan 2024-11-02 23:38:47 -05:00
parent 1ad980266b
commit c03b7d74a7

View File

@ -8,31 +8,34 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 'stable'
# - uses: actions/setup-go@v5
# with:
# go-version: 'stable'
- uses: actions/checkout@v4
- name: Install Yarn
run: npm install -g yarn
- name: Set Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'yarn'
- name: Hash files for cache
uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: get-hash
with:
patterns: |-
**/yarn.lock
**/*.js
**/*.jsx
**/*.ts
**/*.tsx
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- run: echo "a=$(hashFiles('**/yarn.lock'))"
# - name: Install Yarn
# run: npm install -g yarn
# - name: Set Node.js 22.x
# uses: actions/setup-node@v4
# with:
# node-version: 22.x
# cache: 'yarn'
# - name: Hash files for cache
# uses: https://gitea.com/actions/go-hashfiles@v0.0.1
# id: get-hash
# with:
# patterns: |-
# **/yarn.lock
# **/*.js
# **/*.jsx
# **/*.ts
# **/*.tsx
# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: test
env:
THE_HASH: ${{ hashFiles('**/yarn.lock') }}
run: echo $THE_HASH
# - uses: actions/cache@v4
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
# with: