Skip to content

Commit f0302fc

Browse files
authored
Merge pull request #51 from rdfjs/fix-empty-publish
Fix empty publish (switch to NPM)
2 parents 66f7b7d + 0a9a91b commit f0302fc

File tree

7 files changed

+2530
-2147
lines changed

7 files changed

+2530
-2147
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/config@1.6.0/schema.json",
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"linked": [],

.changeset/yellow-stingrays-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@rdfjs/types": patch
3+
---
4+
5+
Version `1.1.1` was inadvertently published empty (fixes #49)

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@ on:
44
push:
55
branches:
66
- master
7-
- feature/query
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
89

910
jobs:
1011
release:
1112
name: Release
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Checkout Repo
15-
uses: actions/checkout@master
16+
uses: actions/checkout@v4
1617
with:
1718
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1819
fetch-depth: 0
1920

2021
- name: Setup Node.js
21-
uses: actions/setup-node@v2.1.2
22+
uses: actions/setup-node@v4
2223
with:
23-
node-version: 14
24+
node-version: 20
2425

2526
- name: Install Dependencies
26-
run: yarn
27+
run: npm ci
2728

2829
- name: Create Release Pull Request or Publish to npm
29-
id: changesets
30-
uses: changesets/action@master
30+
uses: changesets/action@v1
3131
with:
3232
# This expects you to have a script called release which does a build for your packages and calls changeset publish
33-
publish: yarn release
33+
publish: npm run release
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
# @rdfjs/types
22

3-
## 1.1.1
3+
## ~~1.1.1~~
44

5-
### Patch Changes
6-
7-
- a631541: Only package declaration files
8-
9-
## 1.1.1
10-
11-
### Patch Changes
5+
### ~~Patch Changes~~
126

13-
- Packaging Fix: Only package declaration files
7+
- ~~a631541: Only package declaration files~~
148

159
## 1.1.0
1610

0 commit comments

Comments
 (0)