Skip to content

Commit

Permalink
Merge pull request #234 from jaredwray/chore-upgrading-workflows-to-u…
Browse files Browse the repository at this point in the history
…se-pnpm-and-updating-security-policy

chore: upgrading workflows to use pnpm and updating security policy
  • Loading branch information
jaredwray authored Dec 31, 2024
2 parents 1ea514a + 4fa56a2 commit 52a65e8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 37 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

- name: Compile
run: npm run compile
- name: Build
run: pnpm build

- name: Testing
run: npm run test
run: pnpm test

- name: Code Coverage
uses: codecov/codecov-action@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

- name: Build Website
run: npm run build
- name: Build
run: pnpm build

- name: Build Website
run: npm run website:build
run: pnpm website:build

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

- name: Compile
run: npm run compile
- name: Build
run: pnpm build

- name: Testing
run: npm run test
run: pnpm test

- name: Publish
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

- name: Compile
run: npm run compile
- name: Build
run: pnpm build

- name: Testing
run: npm run test
run: pnpm test
19 changes: 2 additions & 17 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
# Security Policy

## Supported Versions
We update and maintain this code on a regular basis. If you find any any issues please create an issue and even better a pull request that details the security vulnerability.

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 3.x.x | :white_check_mark: |
| 2.x.x | :x: |
| 1.x.x | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
As always, please upgrade to that latest version as that is the best policy to minimize the security risk.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ecto",
"version": "4.1.4",
"version": "4.1.5",
"description": "Modern Template Consolidation Engine for EJS, Markdown, Pug, Nunjucks, Liquid, and Handlebars",
"type": "module",
"main": "./dist/ecto.js",
Expand All @@ -21,9 +21,8 @@
"watch": "tsc -w -p .",
"clean": "rimraf ./dist yarn.lock package-lock.json pnpm-lock.yaml ./coverage ./node_modules ./site/readme.md ./dist-site",
"test": "xo --fix && vitest run --coverage",
"compile": "rimraf ./dist && tsup src/ecto.ts --format esm --dts --clean",
"build": "rimraf ./dist && npm run compile",
"prepare": "rimraf ./dist && npm run compile",
"build": "rimraf ./dist && tsup src/ecto.ts --format esm --dts --clean",
"prepare": "npm run build",
"website:build": "rimraf ./site/readme.md && npx -y docula build -s ./site -o ./dist-site",
"website:serve": "rimraf ./site/readme.md && npx -y docula serve -s ./site -o ./dist-site"
},
Expand Down

0 comments on commit 52a65e8

Please sign in to comment.