Skip to content

Commit ede32ca

Browse files
shaps80maticzav
andauthored
Removes the cache options to resolve expected behaviour (#187)
Co-authored-by: Matic Zavadlal <[email protected]>
1 parent 726ae22 commit ede32ca

File tree

23 files changed

+9921
-71284
lines changed

23 files changed

+9921
-71284
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,18 @@
1-
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
23
{
3-
"name": "sniper",
4-
5-
"build": {
6-
"dockerfile": "Dockerfile"
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
"features": {
9+
"ghcr.io/devcontainers/features/node:1": {}
710
},
8-
9-
// Set *default* container specific settings.json values on container create.
10-
"settings": {
11-
"terminal.integrated.defaultProfile.linux": "/bin/bash"
12-
},
13-
14-
"extensions": [
15-
"bradlc.vscode-tailwindcss",
16-
"visualstudioexptteam.vscodeintellicode",
17-
"esbenp.prettier-vscode",
18-
"arcanis.vscode-zipfs",
19-
"coenraads.bracket-pair-colorizer",
20-
"ms-azuretools.vscode-docker",
21-
"silvenon.mdx"
22-
],
23-
2411
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2512
"forwardPorts": [],
26-
27-
// https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
28-
// "runArgs": ["--net=host"],
29-
30-
// Use 'postCreateCommand' to run commands after the container is created.
31-
"postCreateCommand": "yarn install"
13+
"postCreateCommand": "pnpm i",
14+
"customizations": {}
15+
//
16+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
17+
// "remoteUser": "root"
3218
}

.github/workflows/generate:toc.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/migrate.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,33 @@ jobs:
1616
timeout-minutes: 30
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- name: Checkout Main
20+
uses: actions/checkout@v3
2021

2122
# Build the Library
2223
- name: Swift Resolve
2324
run: swift package resolve
25+
2426
- name: Swift Build
2527
run: swift build
2628

2729
# Start Test Server
28-
- name: Use Node
29-
uses: actions/setup-node@v2
30+
- uses: pnpm/action-setup@v2
31+
with:
32+
version: 8.6.6
33+
34+
- name: Install Dependencies
35+
run: pnpm i --frozen-lockfile
36+
37+
- name: Setup Node Environment
38+
uses: actions/setup-node@v3
3039
with:
3140
node-version-file: '.nvmrc'
32-
cache: 'yarn'
33-
- name: Install Server Dependencies
34-
run: yarn install
41+
cache: 'pnpm'
42+
3543
- name: Start Test Server
36-
run: yarn workspace server start &
44+
run: pnpm run --dir server start &
45+
3746
- name: Wait for Server to Start
3847
run: |
3948
sleep 5

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.13.0
1+
v20.5.0

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)