Skip to content

Commit 1a8365f

Browse files
committed
Chore: Update workflow
1 parent 067df81 commit 1a8365f

18 files changed

+801
-415
lines changed

.github/workflows/ci.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types:
9+
- 'synchronize'
10+
- 'opened'
11+
branches:
12+
- '**'
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
17+
18+
jobs:
19+
setup:
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 30
22+
steps:
23+
- name: Get Latest
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 18.x
27+
- name: NPM ^9.5.0
28+
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
29+
- uses: actions/checkout@v4
30+
- name: Restore Dependency Cache
31+
uses: actions/cache@v4
32+
with:
33+
path: ~/.npm
34+
key: ${{ runner.OS }}-dependencies-cache-${{ hashFiles('**/package.json') }}
35+
lint:
36+
runs-on: macos-14
37+
timeout-minutes: 30
38+
steps:
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: 18.x
42+
- name: NPM ^9.5.0
43+
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
44+
- uses: actions/checkout@v4
45+
- name: Restore Dependency Cache
46+
uses: actions/cache@v4
47+
with:
48+
path: ~/.npm
49+
key: ${{ runner.OS }}-dependencies-cache-${{ hashFiles('**/package.json') }}
50+
- run: npm install
51+
- run: npm run lint

.github/workflows/publish_latest_to_npm.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
token: ${{ secrets.TONEFLIX_RELEASE_TOKEN }}
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 18
28+
node-version: 22
2929
registry-url: https://registry.npmjs.org/
30-
cache: npm
30+
cache: yarn
3131
cache-dependency-path: '**/package.json'
3232
- run: |
33-
npm install
33+
yarn
3434
- name: Version & Publish
3535
env:
3636
GH_TOKEN: ${{ secrets.TONEFLIX_RELEASE_TOKEN }}

.nx/workspace-data/d/daemon.log

+353
Large diffs are not rendered by default.

.nx/workspace-data/d/server-process.json

-1
This file was deleted.

0 commit comments

Comments
 (0)