renamed pipelines
هذا الالتزام موجود في:
@@ -29,10 +29,10 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Run a one-line script
|
||||
- name: Pass via Context
|
||||
run: echo "$Greeting, ${{ secrets.Name }}!"
|
||||
|
||||
- name: Run a one-line script
|
||||
- name: Pass via Environment
|
||||
run: echo "$Greeting, $Name!"
|
||||
env:
|
||||
Name: ${{ secrets.Name }}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||
|
||||
name: Node.js CI
|
||||
name: 09 Node.js Matrix
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -38,18 +38,3 @@ jobs:
|
||||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- run: npm test
|
||||
|
||||
publish-npm:
|
||||
needs: build-node
|
||||
runs-on: ubuntu-latest
|
||||
environment: npm
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
المرجع في مشكلة جديدة
حظر مستخدم