Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
38 changes: 0 additions & 38 deletions .github/workflows/npm-publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pkg-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
deno-version: vx.x.x

- name: Build package
run: xargs deno task build:npm < version.txt
run: deno task build:npm

- run: npx pkg-pr-new publish --compact ./npm
20 changes: 0 additions & 20 deletions .github/workflows/release-please.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
repository-projects: write
steps:
- uses: navikt/github-app-token-generator@v1
id: get-token
with:
private-key: ${{ secrets.APP_PRIVATE_KEY }}
app-id: ${{ secrets.APP_ID }}

- name: Checkout Repo
uses: actions/checkout@v5
with:
persist-credentials: false
fetch-depth: 0

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: latest

- name: Install Dependencies
run: deno install

# Update npm to latest version so that OIDC works correctly
- name: Update npm
run: npm install -g npm@latest

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
commit: "ci: release"
title: "ci: release"
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
55 changes: 0 additions & 55 deletions .github/workflows/semantic-prs.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
npm
node_modules
# Local Netlify folder
.netlify
.DS_Store
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unpic/lib",
"version": "4.0.0",
"version": "4.2.1",
"exports": {
".": "./mod.ts",
"./async": "./src/async.ts",
Expand Down
Loading
Loading