File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 fetch-depth : 0 # Need all tags to get a version number in-between tags
1111 - uses : actions/setup-node@v4
1212 with :
13- node-version : ' 22 '
13+ node-version : ' 24 '
1414 cache : ' yarn'
1515 - run : yarn --frozen-lockfile
1616 - run : yarn build-demo
2525 - uses : actions/checkout@v4
2626 - uses : actions/setup-node@v4
2727 with :
28- node-version : ' 22 '
28+ node-version : ' 24 '
2929 cache : ' yarn'
3030 - run : yarn --frozen-lockfile
3131 - run : ./node_modules/.bin/ng test angular-natural-gallery --progress false --watch=false --browsers ChromeHeadlessCustom
3636 - uses : actions/checkout@v4
3737 - uses : actions/setup-node@v4
3838 with :
39- node-version : ' 22 '
39+ node-version : ' 24 '
4040 cache : ' yarn'
4141 - run : yarn --frozen-lockfile
4242 - run : yarn lint
4747 - uses : actions/checkout@v4
4848 - uses : actions/setup-node@v4
4949 with :
50- node-version : ' 22 '
50+ node-version : ' 24 '
5151 cache : ' yarn'
5252 - run : yarn --frozen-lockfile
5353 - run : ./node_modules/.bin/prettier --experimental-cli --check .
7575 # Publish to npm
7676 - uses : actions/setup-node@v4
7777 with :
78- node-version : ' 22 '
78+ node-version : ' 24 '
7979 registry-url : ' https://registry.npmjs.org'
80- - run : npm publish --provenance --access public dist/angular-natural-gallery/
81- env :
82- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
83-
84- # Publish to GitHub Packages
85- - uses : actions/setup-node@v4
86- with :
87- node-version : ' 22'
88- registry-url : ' https://npm.pkg.github.com'
89- - run : npm publish --provenance --access public dist/angular-natural-gallery/
90- env :
91- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80+ - run : npm publish dist/angular-natural-gallery/
9281
9382 # Create release
9483 - name : Get release info
You can’t perform that action at this time.
0 commit comments