forked from demerzel3/karma-sourcemap-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 783 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (35 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test and Release
on:
push:
branches:
- master
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
pull_request:
permissions:
id-token: write
contents: write
jobs:
test-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
with:
version: latest
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm i --frozen-lockfile --no-verify-store-integrity
- run: npm test
- uses: prantlf/publish-release-action@v1
with:
no-npm-auth: true
no-archives: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}