Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Dec 5, 2023
1 parent 1a8df9d commit 5214922
Show file tree
Hide file tree
Showing 9 changed files with 15,720 additions and 17,139 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: CI

on:
push:
branches:
- main
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
- name: Lint
run: pnpm lint
- name: Run Tests
run: pnpm test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
args: "--no-lockfile"
- name: Run Tests
run: pnpm test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: "test"
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-4.4
- ember-lts-4.8

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
16 changes: 4 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,21 @@ name: Release

on: workflow_dispatch

concurrency:
group: release
cancel-in-progress: true

jobs:
release:
build:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Release on NPM
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm semantic-release
103 changes: 0 additions & 103 deletions .github/workflows/test.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Ember Engine for the [inosca/ebau-gwr](https://github.com/inosca/ebau-gwr) backe

```
# start a local CORS proxy
yarn proxy
pnpm proxy
# start dev server
yarn start
pnpm start
```

## Compatibility
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@ember/string": "3.1.1",
"@ember/test-helpers": "3.2.0",
"@embroider/test-setup": "3.0.1",
"@fortawesome/fontawesome-svg-core": "6.4.0",
"broccoli-asset-rev": "3.0.0",
"concurrently": "8.2.1",
"ember-cli": "4.12.1",
Expand Down Expand Up @@ -102,10 +103,12 @@
"qunit": "2.19.4",
"qunit-dom": "2.0.0",
"sass": "1.66.1",
"semantic-release": "21.0.5",
"stylelint": "15.10.3",
"stylelint-config-standard-scss": "10.0.0",
"stylelint-prettier": "3.0.0",
"stylelint-scss": "5.0.1",
"uikit": "3.16.21",
"webpack": "5.88.2"
},
"engines": {
Expand Down
Loading

0 comments on commit 5214922

Please sign in to comment.