Skip to content

Commit 1373319

Browse files
committed
📌 Pin dependencies
1 parent 977a1a0 commit 1373319

File tree

682 files changed

+4712
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

682 files changed

+4712
-189
lines changed

.github/workflows/master.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy to Firebase Hosting on merge
2+
"on":
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build_and_deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: "18.x"
14+
cache: "yarn"
15+
- name: Install dependencies
16+
run: yarn install --immutable --immutable-cache
17+
- name: Set yarn config
18+
run: yarn config set npmAuthToken $NPM_AUTH_TOKEN
19+
env:
20+
NPM_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
21+
- name: Build
22+
run: |
23+
yarn workspace postcss-colorguard build
24+
yarn workspace colorguard-processor build
25+
yarn workspace colorguard-cli build
26+
- name: Publish package
27+
run: yarn workspaces foreach --no-private --topological-dev run semantic-release
28+
env:
29+
NPM_TOKEN: ${{ secrets.YARN_TOKEN }}
30+
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.github/workflows/node.js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
cache: 'yarn'
2727
- name: yarn install, build, and test
2828
run: |
29-
yarn install --immutable
29+
yarn install --immutable --immutable-cache
3030
yarn workspace postcss-colorguard build
3131
yarn workspace colorguard-processor build
3232
yarn workspace colorguard-processor test
3333
yarn workspace colorguard-cli build
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.pnp.*
55
.yarn/*
6+
!.yarn/cache
67
!.yarn/patches
78
!.yarn/plugins
89
!.yarn/releases

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"**/.yarn": true,
44
"**/.pnp.*": true
55
},
6-
"typescript.tsdk": "node_modules\\typescript\\lib",
6+
"typescript.tsdk": ".yarn/sdks/typescript/lib",
77
"typescript.enablePromptUseWorkspaceTsdk": true
88
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2.93 KB
Binary file not shown.

0 commit comments

Comments
 (0)