Skip to content

Commit

Permalink
Removes the cache options to resolve expected behaviour (#187)
Browse files Browse the repository at this point in the history
Co-authored-by: Matic Zavadlal <matic.zavadlal@gmail.com>
  • Loading branch information
shaps80 and maticzav committed Jan 14, 2024
1 parent 726ae22 commit ede32ca
Show file tree
Hide file tree
Showing 23 changed files with 9,921 additions and 71,284 deletions.
9 changes: 0 additions & 9 deletions .devcontainer/Dockerfile

This file was deleted.

40 changes: 13 additions & 27 deletions .devcontainer/devcontainer.json
@@ -1,32 +1,18 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "sniper",

"build": {
"dockerfile": "Dockerfile"
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.defaultProfile.linux": "/bin/bash"
},

"extensions": [
"bradlc.vscode-tailwindcss",
"visualstudioexptteam.vscodeintellicode",
"esbenp.prettier-vscode",
"arcanis.vscode-zipfs",
"coenraads.bracket-pair-colorizer",
"ms-azuretools.vscode-docker",
"silvenon.mdx"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [],

// https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
// "runArgs": ["--net=host"],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn install"
"postCreateCommand": "pnpm i",
"customizations": {}
//
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
25 changes: 0 additions & 25 deletions .github/workflows/generate:toc.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/migrate.yml

This file was deleted.

23 changes: 16 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -16,24 +16,33 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
- name: Checkout Main
uses: actions/checkout@v3

# Build the Library
- name: Swift Resolve
run: swift package resolve

- name: Swift Build
run: swift build

# Start Test Server
- name: Use Node
uses: actions/setup-node@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.6

- name: Install Dependencies
run: pnpm i --frozen-lockfile

- name: Setup Node Environment
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install Server Dependencies
run: yarn install
cache: 'pnpm'

- name: Start Test Server
run: yarn workspace server start &
run: pnpm run --dir server start &

- name: Wait for Server to Start
run: |
sleep 5
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
v16.13.0
v20.5.0
77 changes: 0 additions & 77 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

0 comments on commit ede32ca

Please sign in to comment.